RosettaCodeData/Task/Inverted-syntax/Icon/inverted-syntax.icon
2023-07-01 13:44:08 -04: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