|
||||||||||||
|
|
||||||||||||
Statement modifiersThe simple statements break, continue, exit, expression, print, return, throw, and yield may be modified with a statement modifier. There are two possible modifiers: An If modifier affects the statement so that it will be evaluated only when the conditional expression evaluates to "true". A While modifier affects the statement so that it will be evaluated in a loop as long as the conditional expression evaluates to "true". stmt-modifier := ( "if" exprcondition | "while" exprcondition )
See also
| Expression statements
| Print
| Return
| Yield
| Break
| Continue
| Continue .. case
| Throw
| Exit
| Grammar
|
||||||||||||
|
|
||||||||||||