<< Click to Display Table of Contents >> Navigation: Explain™ Control Language > Library Routines > Define classes and functions > ClassNew() |
Dynamically create a class from a class name and super class.
These classes are created on the fly during the execution of a script.
REGULAR FUNCTION
Result = ClassNew(Name, SuperClass)
Name |
STRING |
Name of the class to be created. |
SuperClass |
STRING |
Name of the SuperClass from which this class is derived. If missing, no SuperClass is used. |
Result |
CLASS |
Newly created class. For this class to be accessed from other functions, the result must be assigned to a global variable. |