Back Previous Next


Linguist basic package - while

Syntax:

   while {condition} {block}

Keyword handler:

   net.eclecity.linguist.basic.keyword.BasicKWhile.class

Runtime handler(s):

   net.eclecity.linguist.basic.handler.BasicHWhile.class

Function:

Repeatedly executes a specified instruction or block until a condition is true. See also if.

Example(s):

   put 0 into N
   while N is less than 100
   begin
      prompt N
      increment N
   end


Back Previous Next