General information
Category:
Coding, syntax & commands
>>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only