=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Command: FORWARD_BEGIN_CONSTRUCT ClassName { <argument> ... } Parameters: ClassName is the name of the class which owns the macro that is forwarding. <argument> is any argument required Description: This command allows the instance-creation macros defined for classes to 'inherit' the instance-creation macro(s) defined by their superclass(es). =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <currentClassName> { <arg> ... }
#IFSUB '!1$SC' // if flex-defined class #SPUSH #SET $$ !1$SC //get superclass name #IFSUB '!$$SM' //if class defines start macro !$$SM !$ !2 !3 !4 !5 !6 !7 !8 !9 //invoke it #ELSE //else not defined FORWARD_BEGIN_CONSTRUCT !$ !2 !3 !4 !5 !6 !7 !8 !9 #ENDIF #SPOP #ELSE ADD$IMAGE$ARGS MSG_CONSTRUCT_OBJECT !2 !3 !4 !5 !6 !7 !8 !9 //use default #ENDIF