| MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | NAME |
| 2 | while | ||||
| 3 | |||||
| 4 | SYNTAX | ||||
| 5 | while (expr) statement; | ||||
| 6 | |||||
| 7 | DESCRIPTION | ||||
| 8 | While 'expr' evaluates to non 0, execute statement. | ||||
| 9 | |||||
| 10 | A 'break' in the 'statement' will terminate the loop. A | ||||
| 11 | 'continue' will continue the execution from the beginning of | ||||
| 12 | the loop. | ||||
| 13 | |||||
| 14 | SEE ALSO | ||||
| 15 | for(LPC), foreach(LPC), do-while(LPC), if(LPC), switch(LPC) | ||||