RosettaCodeData/Task/Inverted-syntax/Icon/inverted-syntax.icon
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

5 lines
249 B
Text

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