Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO FORM......NAME...LINKED
Message
From
29/05/1998 14:37:28
 
 
To
29/05/1998 08:54:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00102548
Message ID:
00103193
Views:
33
>I use it as long as I develop in VFP (and FP2.x). LOCAL variable is visible for its own snippet and all snippets called from there.
>
>>Ed,
>>
>>Have you tried that? LOCAL shouldn't be visible inside the report. Only private and public. I suggested public because private to a method might still go out of scope in a REPORT NOWAIT setup.
>>
>>>Yes I meant something like this, moreover, the example doesn't require PUBLIC, it can be LOCAL variable.

This is odd Ed. According to the Help, LOCAL variables are visible only in the procedure or function they are declared in, not in those above or below the procedure. PRIVATE variables being visible in "lower" method calls. Since this works for you, can we conclude that a report run from a method is "part of" or "contained in" the method?
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform