Back Previous Next


Linguist basic package - divide

Syntax:

   divide {variable} by {value} [giving {variable}]

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKDivide.class

Runtime handler(s):

   net.eclecity.linguist.basic.keyword.BasicHDivide.class

Function:

Divides a variable by a value. The result can optionally be placed in a second variable without affecting the first.

Example(s):

   divide N by 2
   divide LineWidth by the words in ThisLine giving AverageWidth


Back Previous Next