EMA-XPS Online


$TERM

$TERM
=====

Syntax: ($TERM <term>)  or  !<term>

The exclamation mark is for the analysis of
complex values. In this version, it can only
be used instead of the value in a two-argument-
predication. In this case, a relation value has
to be composed of a list of values.
If you use an exclamation mark with a list of
variables, then the single elements of the list
will be bound to the corresponding variables, if
the number, position and possibly known
values are corresponding. The same procedure is
followed for trees of any size.

Example: >(ask [climate New-York
             !(_Month _Degree _Raindays)]
             (kb-format "~%~A" _Month))
         1
         2
         NIL


EMA-XPS Online