Back Previous Next


Linguist basic package - every

Syntax:

   every {count} tick[s]/second[s]/minute[s] {block}

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKEvery.class

Runtime handler(s):

   net.eclecity.linguist.basic.handler.BasicHEvery.class

Function:

Sets up a repeating timer. When it fires the instruction(s) at {block} are executed and the timer re-arms itself. See also after.

Note: In most cases it's better to use after and re-arm the timer each time it fires.

Example(s):

   every 20 seconds prompt "Waiting..."


Back Previous Next