Undefined values: Difference between revisions

Content added Content deleted
Line 1,124: Line 1,124:


=={{header|Prolog}}==
=={{header|Prolog}}==
Prolog has two predicates to know if a variable is instancied or not : '''var/1''' and '''nonvar/1''' <br>
Prolog has two predicates to know if a variable is instantiated or not: '''var/1''' and '''nonvar/1''' <br>
<pre>?- var(Y).
<pre>?- var(Y).
true.
true.