Back Previous Next


Linguist basic package - decrement

Syntax:

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

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKDecrement.class

Runtime handler(s):

   net.eclecity.linguist.basic.keyword.BasicHDecrement.class

Function:

The first form decrements 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 decrements the index of the named variable. An error will occur if the index was already set to zero.

See also increment.

Example(s):

   decrement N
   decrement the index of Label


Back Previous Next