DownTo (Reserved Word)

image\trumpet2.gif Disclaimer

This word is used as a part of a For statement where the execution values will be decreasing to a finishing value.

DownTo

Remarks

DownTo will always be placed between two arithmetic expressions.

Example

For Value5 = Length DownTo 0 Begin
 
{Your Code Here}
End
;

DownTo is used here to indicate that for each value of Value5 from Length down to zero, the following Begin... End loop will be executed.