Sample script: element DEFINE
The only attributes that an INCLUDE element directly inherits from a GROUP that contains it are ROTATE, X and Y. A DEFINE element can be employed to propagate other attribute values from its containing group to an included element.
In this example, a temporary field is created by the DEFINE element with the NAME GroupColour. This contains a STRING value for the COLOR of a group named Arrow. A new temporary GroupColour field is defined to contain the new value for its color each time that Arrow is invoked.