RosettaCodeData/Task/Inverted-syntax/Icon/inverted-syntax.icon

6 lines
249 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
procedure main()
raining := TRUE := 1 # there is no true/false null/non-null will do
if \raining then needumbrella := TRUE # normal
needumbrella := 1(TRUE, \raining) # inverted (choose sub-expression 1)
end