Null object: Difference between revisions

Content added Content deleted
(BASIC)
Line 93: Line 93:
MsgBox, object is null</lang>
MsgBox, object is null</lang>


=={{header|BASIC}}==
Classic BASIC does have the concept of un-initialised or undefined variables.
=={{header|C}}==
=={{header|C}}==
C's access to null is by way of a macro which simply evaluates to <code>(void*) 0</code>.
C's access to null is by way of a macro which simply evaluates to <code>(void*) 0</code>.