411 REFERENCE · Wikibooks
Ada Programming/Keywords/reverse
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
Keywords reverse
__TOC__
This keyword is used in for loops to specify that the loop is performed in reverse order:
for I in reverse 1 .. 10 loop
Ada.Integer_Text_IO.Put (I);
Ada.Text_IO.New_Line;
end loop;
Outputs:
10
9
8
7
6
5
4
3
2
1
See also
Wikibook
Ada Programming
Ada Programming/Keywords
Ada Reference Manual
2 9 Reserved Words
P (informative) Syntax Summary
Ada Quality and Style Guide
3 1 3 Capitalization
Reverse
Keywords:reverse