RosettaCodeData/Task/Conditional-structures/PicoLisp/conditional-structures-1.l

10 lines
461 B
Text
Raw Permalink Normal View History

2013-04-10 16:57:12 -07:00
(if (condition) # If the condition evaluates to non-NIL
(then-do-this) # Then execute the following expression
(else-do-that) # Else execute all other expressions
(and-more) )
(ifn (condition) # If the condition evaluates to NIL
(then-do-this) # Then execute the following expression
(else-do-that) # Else execute all other expressions
(and-more) )