Loop (keyword)
From RemObjects Software
In addition to while, for and repeat/until loops, Oxygene introduces an additional simple "loop" construct that loops endlessly, until broken out of. Essentially, this will replace hacked "repeat ... until false" statements that are often used in these kinds of scenarios in classic Pascal.
Example
loop begin ... Console.Writeln(i); Inc(i); if i > 1000 then break; ... end;
The usual break and continue statements apply inside "loop", to exit the entire loop or the current iteration, respectively.
See Also
Product: RemObjects Oxygene (formerly known as Chrome)
Current version: 3.0
Previous Versions: 'Joyride' (2.0), 'Floorshow' (1.5), 'Adrenochrome' (1.0)
Glossary — Keywords — Language Features — Platform Features — Samples — Articles — How To — Issues
Categories: Text | Oxygene | Language | Keyword
