On 10/03/2010 09:01 PM, Bizugo wrote:
Is possible to create a loop using a code like this one:
for var J: integer = X to Y do {...}
No, but if you're using Lazarus and want to save typing, you can write:
for I := 1 to 10 do
and then press Ctrl+Shift+C and it will automatically add I: Integer to
your local variable list, so you can write it just as fast, and most
importantly, without the need to move the cursor back to the variable list.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus