System.Null - Manhunter07/MFL GitHub Wiki

Do not confuse with: System.Nil which represents an unassigned reference

Declaration

const Null = \built-in\

Description

The Null constant in the System package represents an untyped empty value. It is neither of 0 (zero), NaN, Nil, "", [], {}, but a completely own type that has been introduced only to represent this one constant. Thereby, all null values are represented as this constant.

Since there is no other representation for the value of this constant, it is always returned as name. Null cannot be addressed, does not support members and is supported by all types. Null also does not support any operations performed by operators except for type checks (?:), such as +, - or ?. Using it in absolute bars will cause an exception, too.

See also