Back Previous Next


Linguist basic package - toggle

Syntax:

   toggle {variable}

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKToggle.class

Runtime handler(s):

   net.eclecity.linguist.basic.handler.BHToggle.class

Function:

Performs a boolean NOT on a variable, overwriting it with its new value. If the value was zero it will be set to one; any other value will be set to zero.

Example(s):

   toggle N


Back Previous Next