+ 1

Does "else unless" exists? 「else unless」存在嗎?[Solved] [已解決]

There is an "elsif" for "else if", but is there an "elsunless" or something that means "else unless"? 「elsif」存在, 那麼,有沒有「else unless」呢?

18th Nov 2017, 4:18 AM
randint
randint - avatar
3 Answers
+ 7
There is not such keyword, but if you want to use else unless you can use else if with not statement in condition.
18th Nov 2017, 4:28 AM
Lakshay
Lakshay - avatar
0
Okay, thank you for your answers!
18th Nov 2017, 4:29 AM
randint
randint - avatar