NIL
a = NIL
Sets a variable to nil. NIL is used to mean ‘not set’ as distinct from having a number set to 0.
Example 1
NIL
b = print b ' Output: Nil
Example 2
NIL
b = if(b == NIL) then print "b is not set"
' Output: b is not set
a = NIL
Sets a variable to nil. NIL is used to mean ‘not set’ as distinct from having a number set to 0.
NIL
b = print b ' Output: Nil
NIL
b = if(b == NIL) then print "b is not set"
' Output: b is not set