Back Previous Next


Linguist basic package - enum

Syntax:

   enum {symbol} [{symbol} ...] end

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKEnum.class

Runtime handler(s):

   None

Function:

Declares a series of constant numeric values, in ascending sequence starting at zero. See also constant.

Example(s):

   enum
      ZERO
      ONE
      TWO
      THREE
      FOUR
      FIVE
      SIX
      SEVEN
      EIGHT
      NINE
   end


Back Previous Next