Object Statement

Defines a singleton object.

Syntax

[ Shared ] Object #objectName [ Is superclass ] [ Does traitList ]
    [ statements ]
End Object

Parts

Shared
Optional
#objectName
Required
superclass
Optional
traitList
Optional list of traits, each separated by a comma. For details, see Does Clause (Traits).
statements
Optional
End Object
Terminates the Object block.

Remarks

Examples

See also