kingbiz...@gmail.com schrieb:
I would like to be able this: [ some code after begin ] DoSomething; var I: Integer; for I := 0 to 1000 do DoAnotherThing(I); [ inside the code ]
That's not good practice, in no programming language.Better move the loop into a local procedure, where you can declare really local variables.
DoDi _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel