:UNBOUNDP

Purpose

Checks whether a variable does not have a binding.

Parameters

?variable
The variable to be checked.

Examples

  ((:BIND ?x 1)
   (:FAIL (:UNBOUNDP ?x))
   (:PRINTLN "?x is bound"))

  ((:UNBOUNDP ?y)
   (:PRINTLN "?y is not bound"))

Success criteria

Succeeds if the given variable is not bound.

Failure criteria

Fails if the variable is bound.

Notes

None.

Related commands


Back to...

Algernon commands
Algernon Documentation Central
Algernon home page