| MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | NAME |
| 2 | do-while | ||||
| 3 | |||||
| 4 | SYNTAX | ||||
| 5 | do { statement } while(expr); | ||||
| 6 | |||||
| 7 | DESCRIPTION | ||||
| 8 | Execute 'statment' until 'expr' evaulates to 0. | ||||
| 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), while(LPC), if(LPC), switch(LPC) | ||||