[alicebot-archcomm] Attribute var

John Foderaro alicebot-archcomm@list.alicebot.org
Thu, 14 Mar 2002 08:33:27 -0800


 Computer scientists consider a predicate to be a function
that returns true or false. 

 The Lisp language uses this convention and usually ends 
the names of predicates with a 'p'.


The float function converts its argument to a float:

    cl-user(3): (float 3)
    3.0

and the floatp predicate tests to see if its argument is a float:

    cl-user(4): (floatp 3)
    nil


    cl-user(5): (floatp 3.0)
    t



 What AIML has are variables: named objects holding values.