Skip to content

End_Class

See Also: Class, Object

Purpose

To terminate a class-definition block.

Syntax

Class {class-name} is a {superclass}
End_Class

What It Does

Each class definition block started by the Class command must be terminated by an End_Class command. This command restores compiler-generated information relating to the current class. Class definition blocks may not be nested.

Each class keeps a count of the number of sub-objects that have been defined by the class. The End_Class command defines a symbol for each class that declares the number of its sub-objects.