Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global scatter name
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00709981
Message ID:
00710178
Views:
18
>>>>That is as good as any. However, I make is a PRIVATE memvar at the beinning of my MAIN prg file. THis still makes the object visible to everything down the call stack. Since everything from MAIN is down the call stack, it's like a PUBLIC memvar.
>>>
>>>Is this way better somehow?
>>
>>Some might argue that it is, but IMO, there really is no difference at this level. It is just my personal preference.
>
>Seems I have to declare the variable PUBLIC for the object to be
>seen by my menu. If I use PRIVATE my menu "skip" expressions complain.
>Any way around that?

Nevermind... I forgot that private doesn't create variables. Just had to
declare it first.
Previous
Reply
Map
View

Click here to load this message in the networking platform