
Define in a Procedure is useless. Local for Procedures and Main-Scope is
more clearly. For DefaulType an extra Keyword, or remove it.
Or set Define = Protected
This would get my vote!ts-soft wrote:Or set Define = Protected
This one too.For DefaulType an extra Keyword, or remove it
No, global is global, all other is local (protected)freak wrote: That would make "Global" pretty useless, would it not ?
Code: Select all
Global A.l
Procedure foo()
Define A.l
EndProcedure
Code: Select all
Global A.l
Procedure foo()
A = 10
EndProcedure
Code: Select all
XIncludeFile "MyGlobals.pbi"
Global a
Procedure foo()
Define a ; global
Define b ; ???
Protected c ; lokal
EndProcedure