13 lines
342 B
Plaintext
13 lines
342 B
Plaintext
/**
|
|
<doc>
|
|
<p>Neko uses <i>null</i> for undefined variables,
|
|
and also as a programmer accessible value.</p>
|
|
<p>The <i>null</i> value can be treated as a boolean value with the
|
|
builtin $istrue, and tests as false.</p>
|
|
</doc>
|
|
*/
|
|
|
|
var n = null
|
|
if n == null $print("n is null\n")
|
|
if $not($istrue(n)) $print("and tests as boolean false\n")
|