A for the loop can be done in Ada using a range with a start and end point:
for I in 0..10 loop
(...)
end loop;
I know that it is possible to execute a for loop using two variables that describe the range:
for I in range_start..range_end loop
(...)
end loop;
Is it also possible to save the range in one variable ?, for example:
for I in my_range loop
(...)
end loop;
What type does the variable * my_range * have?
:
, : , , .
, , , . , , , , .