Forward_end_construct Command
Obsolete
This command is obsolete. It is valid only in character-mode DataFlex. See the Class command for information about creating classes in DataFlex.
Purpose
To pass arguments required by a class's endmac macro from a class definition.
Syntax
forward_end_construct
classname
. . .
What It Does
Where a class definition provides for the construction of an object of another class that uses arguments in its termination syntax, forward_end_construct must be used in the definition of the new class to pass the values of the arguments required by that class.
- If the new class's superclass is such a class,
forward_end_constructis required with the superclass asclassname. - If the new class creates child objects of a class requiring termination syntax,
classnamemay be other than the superclass.
One forward_end_construct command is required for every such class of which an object is constructed through a class definition.
Normally, the macro command that is to be called on object (or subclass) creation is identified on the class command line after the keyword endmac. The arguments (. . .) may be values defined within the subclass definition, or they may be values drawn from the object command line of instances of the subclass. In the latter case, the endmac macro name syntax must be provided on the class command line of the subclass, naming the arguments to be passed to classname in the forward_end_construct command within the subclass's definition.