[PATCH] Allow for..to loops to use a step value
Original Reporter info from Mantis: AndrewH @andrewd207
-
Reporter name:
Original Reporter info from Mantis: AndrewH @andrewd207
- Reporter name:
Description:
This patch adds the ability to use 'step' in a for..to loop
for I := 0 to 10 step 2 do
...;
Also "downto" works.
The step value must be a constant and greater than 1 or the compiler gives an error.
Mantis conversion info:
- Mantis ID: 25549
- Monitored by: » @leledumbo (Mario Ray Mahardhika), » Vincent (Vincent Snijders), » @PascalDragon (Sven Barth)