Downto (keyword)

From RemObjects Software

Jump to: navigation, search

This is a Oxygene Keyword topic
Feel free to add your notes to this topic below.



The downto keyword precedes to target value lStart in a for loop:

for i := lEnd downto lStart do //statements

In this case, the loop will go from a high value (lEnd) to a lower value (lStart).

Note that the loop won't run when using downto on values that go from low to high. If any step value is used the value should be stated positively (defaults to 1).


See Also


Product: RemObjects Oxygene (formerly known as Chrome)
Current version: 3.0 Previous Versions: 'Joyride' (2.0), 'Floorshow' (1.5), 'Adrenochrome' (1.0)

GlossaryKeywordsLanguage FeaturesPlatform FeaturesSamplesArticlesHow ToIssues

Personal tools