Undefined values: Difference between revisions

Line 1,216:
<pre>VAR1
Not set.</pre>
 
=={{header|zkl}}==
Nothing is undefined in zkl (in theory). Numeric values like inf and NaN are "discouraged". "Void" is an object that is used as a "sentinel" for "I have no idea what the proper value should be" but it is just object that can be used like any other object.
<lang zkl>println(Void);
1+Void
if(Void){} else { 23 }</lang>
{{out}}
<pre>
Void
Exception thrown: NotImplementedError(Conversion not possible for Void: toInt)
23
</pre>
 
{{omit from|GUISS}}
Anonymous user