Hi, is it possible to use a step in a FOR statement (Pascal)? I see it in the documentation (screenshot), but the format is not clear.
var
i : integer;
begin
for i := 100 to 0 step -10 do
ShowMessage(inttostr(i));
end;
2 Likes
Thanks!
This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.