while

ldmud-3.3.719/doc/LPC/while · 362 B

From the archive ldmud-3.3.719.tar.gz

Download the archive   « Back to the archive contents

NAME
        while

SYNTAX
        while (expr) statement;

DESCRIPTION
        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.

SEE ALSO
        for(LPC), foreach(LPC), do-while(LPC), if(LPC), switch(LPC)

Site Stats

Snippets: 1791
Codebases: 571