Back Previous Next


Linguist basic package - increment

Syntax:

   increment {value holder}
   increment the index of {variable}

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKIncrement.class

Runtime handler(s):

   net.eclecity.linguist.basic.keyword.BasicHIncrement.class

Function:

The first form increments the value held in any value holder, i.e. something that can hold a numeric value. This is usually a numeric variable but can also be a buffer containing a string of digits that can be interpreted as a numeric value.

The second form increments the index of the named variable. An error will occur if the index was already set to the size of the array minus one.

See also decrement.

Example(s):

   increment N
   increment the index of Label


Back Previous Next