Back Previous Next


Linguist basic package - timer

Syntax:

   timer {name} {elements}

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKTimer.class

Runtime handler(s):

   net.eclecity.linguist.basic.handler.BasicHTimer.class

Function:

Declares a timer variable or an array of timers. The array size is fixed at time of compilation.

To introduce a simple delay into a program, use wait or after. If you need to be able to cancel a specific timer, use a timer variable instead. See also create, on, start and stop.

Example(s):

   timer Delay1
   timer Timers 25


Back Previous Next