Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Zloc works with Locals but not Privates. Wonder why?
Message
From
10/01/2010 04:35:48
 
 
To
07/01/2010 10:20:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01442509
Message ID:
01443009
Views:
100
>>>>>zloc works with Locals but not Privates. Wonder why?
>>>>
>>>>Here's a comment from zloc script that explain it
>>>>
>>>>* Look only for LOCAL, PUBLIC, PARAM or LPARAM statements
>>>>
>>>>You can easily add PRIVATE to the list
>>>
>>>
>>>Yes, easy to fix, but... Why in the world did they leave out Private from the list in the first place?
>>>
>>>Oversight? I understand that.... I do that all the time.
>>>
>>>But is there some functional reason of why to leave it out that I do not understand?
>>
>>I wonder if it has to do with locals and publics getting created by a declaration, and privates not.
>>
>>Tamar
>
>That could make some sense. I rarely use privates, but when do, I always add the PRIVATE declaration just to bring attention to it. It helps me see those special cases in my app.

try this
PRIVATE x
? x
Previous
Reply
Map
View

Click here to load this message in the networking platform