RosettaCodeData/Task/Null-object/Ursa/null-object.ursa

10 lines
160 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
# the type at declaration doesn't matter
decl int x
set x null
if (= x null)
out "x is null" endl console
else
out "x is not null" endl console
end if