NEWCHILD Operator

The format of the NEWCHILD operator is:

       NEWCHILD(Object, Name$, NewObject)                     

A typical use:

Count# = NEWCHILD(MasterObject, "MEMBERS", NewObject)

 

The operator allows for activity when an object is added to one of the hierarchy operators:

MEMBERS
INVOCATIONS
ATTRIBUTES
COMPONENTS

In operation, the adding of a link for a new member, and the driving of a state down that link causes the particular operator (MEMBERS, say) to search for a NEWCHILD operator on the MEMBERS master variable (the variable on Pin 2) with the operator's name as a parameter. If found, the count is sent out of the NEWCHILD operator, and the new object is pointed to by NewObject, allowing logic to either respond to the count or examine the new object.

 

Send mail to info@activestructure.com with questions or comments about this web site.
Last modified: November 09, 2005