[top][index]
search for:

null

When it is the value of an expression entered into the interpreter, the output line doesn't appear. Empty spots in a list are represented by it.

It is the only member of the class Nothing, which strictly speaking, ought to have no members at all.

An if expression with no else clause returns null when the predicate is false.

Various routines that prepare data for printing convert null to an empty string.

i1 : x = {2,3,,4}

o1 = {2, 3, , 4}

o1 : List
i2 : net x

o2 = {2, 3, , 4}
i3 : toString x#2

o3 = null
i4 : peek x

o4 = {2,3,null,4}

The object null is a member of the class Nothing.


[top][index]
search for: