RosettaCodeData/Task/Conditional-structures/Nemerle/conditional-structures-1.nemerle

4 lines
125 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
if (the_answer == 42) FindQuestion() else Foo();
when (stock.price < buy_order) stock.Buy();
unless (text < "") Write(text);