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

10 lines
160 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01: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