Back Previous Next


Linguist basic package - collection

Syntax:

   collection {name} is {definition}

Keyword handler:

   linguist.basic.keyword.BKCollection.class

Runtime handler(s):

   linguist.handler.LHCollection.class

Function:

Declares a special kind of variable that comprises a set of fields, each of which is any other variable type (including other collections). This is analogous to 'structure' in other languages. The variables in the definition are separated by the word and.

More information can be found about collections by clicking here.

Example(s):

   collection Person is
      buffer Name and
      variable Age


Back Previous Next