Undefined values: Difference between revisions

(Add Seed7 example)
Line 627:
: MyVar
-> 7</lang>
 
=={{header|Prolog}}==
Prolog has two predicates to know if a variable is instancied or not : '''var/1''' and '''nonvar/1''' <br>
<pre>?- var(Y).
true.
 
?- X = 4, var(X).
false.
 
?- nonvar(Y).
false.
 
?- X = 4, nonvar(X).
X = 4.
</pre>
 
=={{header|PureBasic}}==
Anonymous user