|
defchild
|
The defchild Macro creates a new Lambda object and assigns it to the specified
persistent variable name {child} of the parent Lambda {parent}. The
defchild Macro always returns the newly created Lambda object. Following the
defchild Macro, the new Lambda will be invoked whenever the child member of the
parent Lambda is referenced. When to use Use this macro when the parent Lambda and all its children are too large for one
source file, or when you wish each child Lambda to be defined in a separate source
file from the parent.
(defchild parent:child(arg...) faces:(var...) pvars:(var...)
cvars:(var...) regs:(var...) vars:(var...) exp...) (defchild parent child(arg...) faces:(var...) pvars:(var...)
cvars:(var...) regs:(var...) vars:(var...) exp...) (defchild parent.mem child(arg...) faces:(var...) pvars:(var...)
cvars:(var...) regs:(var...) vars:(var...) exp...) (defChildLambda parent:child(arg...) faces:(var...) pvars:(var...)
cvars:(var...) regs:(var...) vars:(var...) exp...) An Lambda that will be assigned the name {child}.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types parent: The Parent Lambda that the child will be associated with. Symbol child: The name of the new Lambda object (the Child Lambda). Symbol (arg...) Optional Argument. Argument list for the Lambda. --- faces:(var...) Optional Argument. If present, must be followed by a interfaces feature list. Symbol vars:(var...) Optional Argument. If present, must be followed by a local variable list. Symbol pvars:(var...) Optional Argument. If present, must be followed by a persistent variable list. Symbol cvars:(var...) Optional Argument. If present, must be followed by a persistent class variable list. Symbol regs:(var...) Optional Argument. If present, must be followed by a register variable list
(up to fifty register variables are allowed). Symbol exp... The Lisp statements that forms the Lambdas ---
Returns:
Examples
Argument Types
Lambda
Symbol
How do I contact the AIS team?