When I use the same loop variable in a second (not nestet) loop the debugger displays in the second loop the value from the fist loop, but it is using correctly the second one.
Example:
-- first loop
for i in 1 .. 4 loop
...
end loop;
-- second loop
for i in 1 .. 4
-- Debugger display i = 4
end loop;
----------------------------------
Is it better to use always different names i1, i2...)?
Thanks
Sepp Thaler
Example:
-- first loop
for i in 1 .. 4 loop
...
end loop;
-- second loop
for i in 1 .. 4
-- Debugger display i = 4
end loop;
----------------------------------
Is it better to use always different names i1, i2...)?
Thanks
Sepp Thaler