Control Structures

to create

Supported By

Syntax

to create
   statementList
end create

Description

The to create handler defines the behavior of a user-defined object when it is created. When a script requests the creation of a user-defined object, the object is created, then the object is assigned a number, an id, and a name, then the statements in the to create handler are executed.

Note

This structure is only valid inside an object type structure.

See Also

object type, new