while
VERSIONlatest
Used to loop.
WHILE
NAME
while - Used to loop.
SYNOPSIS
do statements until expressions ;
while expressions do statements endw
DESCRIPTION
This statement adds a condition to the program. While this condition is respected, it is executed. This function is used to implement loops with expressions until the input condition is not reached anymore.
EXAMPLES
x
i=5;
do
i--; i;
if i==2 then continue; endif
'i='; i;
until i<1;
i=5;
while i>0 do
i--;
"i=";
i;
endw
AUTHOR
Written by Pierre Laplante and Caroline Laplante, <laplante@sednove.com>