Menu

keywords-structure

Will Pittenger

Used to declare a structure. For more information on structures, see the section [Structures]. Note that here are limits as to what a structure can inherit.

\struct\ identifier
    [\inherits\ BaseTypeList]
  [\constructor\] 'Declare and implement a constructor.  Repeat as needed.

  [\static\ \constructor\] ' Declare and implement a static constructor.

  [\destructor\] ' Declare and implement your destructor

  [\creator\] ' Declare and implement your creator. Repeat as needed.

  ' Declare one or more members and methods.  Each must be explicitly declared as public, protected, or private.

Related

Wiki: Enums
Wiki: Keywords
Wiki: Structures
Wiki: keywords-static