ClassNew()

Type: REGULAR FUNCTION

Purpose: Dynamically creates a class from a class name and super class.

These classes are created on the fly during the execution of a script.

Usage: 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.

Related Topics IconRelated Topics