Re: BDS 2006 - Auto declaration of variables



Hi!

> Thanks for that. However, I seem to remember seeing one could use a
> non-declared variable without having to use "var" or anything like that
> and that it would get declared automatically. Maybe I am mistaken?

"I" gets added for the "for" template, if it is not declared yet.
Another option is refactoring. Automatically would be difficult
because how would you know where to add it to?
Which class, local, global etc...

Regards!
Atmapuri


.



Relevant Pages