Control Structures

to delete

Supported By

Syntax

to delete
   statementList
end delete

Description

The to delete handler defines the behavior of a user-defined object when it is deleted. When a script requests the deletion of a user-defined object, the statements in the to delete handler are executed, then the object is destroyed, then other objects are assigned new numbers.

Note

This structure is only valid inside an object type structure.

See Also

object type