Back Previous Next


Linguist basic package - while

Syntax:

   while {condition} {block}

Keyword handler:

   linguist.basic.keyword.BKWhile.class

Runtime handler(s):

   linguist.basic.handler.BHWhile.class

Function:

Waits for a condition to be true, then executes a specified instruction or block.

Example(s):

   while N is less than 100
   begin
      prompt N
      add 1 to N
   end


Back Previous Next