:BOUNDP

Purpose

Checks whether a variable has a binding.

Parameters

?variable
The variable to be checked.

Examples

  ((:BIND ?x 1)
   (:BOUNDP ?x)
   (:PRINTLN "?x is bound"))

  ((:FAIL (:BOUNDP ?y))
   (:PRINTLN "?y is not bound"))

Success criteria

Succeeds if the given variable is bound.

Failure criteria

Fails if the variable is bound.

Notes

None.

Related commands


Back to...

Algernon commands
Algernon Documentation Central
Algernon home page