I'm with LJ on this. Imagine being required to type this...Little John wrote:Just appending a type identifier such as .i to a variable name (without using Define, Global, Protected or Static) is currently not considered expilict declaration of a variable in PB. If your suggestion would be implemented in this way, it would change the meaning of EnableExplicit. That would cause unnecessary confusion.
Regards, Little John
Code: Select all
Procedure Foo()
For counter = 1 To 10
protected.i counter
Next
EndProcedure
Code: Select all
Procedure Foo()
scope
protected.i counter
For counter = 1 To 10
Next
endscope
EndProcedure