As a convention what do yo like to use for PUBLIC variables?
I use the following for LOCAL variables:
Code: Select all
cMyVar = String\Character
nMyVar = Number
lMyVar = Logical
dMyVar = Date
Michael
Moderator: Rathinagiri
Code: Select all
cMyVar = String\Character
nMyVar = Number
lMyVar = Logical
dMyVar = Date
I feel exactly the same. I think this is overlooked all to often in naming conventions.IMHO type is important than scope, best place is beginning of.
For Clipper :melliott42 wrote:Is it true that all Clipper\HMG variables for arrays are PUBLIC variables?
As far as I remember, all variables come to (accepted by) a function ( or a procedure of course ), are LOCAL.melliott42 wrote:Another type too is distinguishing a FUNCTION parameter.