Action disabled: source
topheader Welcome 44.222.146.114 @ xps.scios.ch on Thu Mar 28 12:03:20 UTC 2024
topheader
 
DEFFUNCTION

DEFFUNCTION

With the deffunction construct, new functions may be defined directly in

CLIPS. Deffunctions are equivalent in use to other functions in CLIPS.

The only differences between user-defined external functions and

deffunctions are that deffunctions are written in CLIPS and executed

by CLIPS interpretively and user-defined external functions are written

in an external language, such as C, and executed by CLIPS directly.

Also, deffunctions allow the addition of new functions without having to

recompile and relink CLIPS.

The syntax of the deffunction construct is:

(deffunction <name> [<comment>]

    (<regular-parameter>* [<wildcard-parameter>])

    <action>*)



<regular-parameter>  ::= <single-field-variable>

<wildcard-parameter> ::= <multifield-variable>
 
 
clips/clip9t0u.txt · Last modified: 2010/01/04 19:47 (external edit)
topheader
© 1998-2021, SciOS Scientific Operating Systems GmbH

Legal | Credits | Profile | Contact | Customer Login