From the NannyMUD documentation

LAST CHANGE

2000-12-16

TOPIC

NAME

        while - The while statement.

DESCRIPTION

	while (expr) statement;

	While 'expr' evaluates to non 0, execute statement.

	A 'break' in the 'statement' will terminate the loop. A
	'continue' will continue the execution from the beginning of
	the loop.

EXAMPLE

	i = 0;
	while ( i < 10 ) {
	  write( i+" ");
	  i += 1;
	}

	Would give the following output:

	0 1 2 3 4 5 6 7 8 9 

SEE ALSO

        do in LPC/do

SEE ALSO

        for in LPC/for

SEE ALSO

        foreach in LPC/foreach