Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory variable
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00143748
Message ID:
00143749
Views:
20
>How do I reference what I used to call a memory variable?
>In the valid of 1 object I want to check for something &
>then set a memory variable that I check in the click
>method of another object. Can I set the variable in the 1st
>object by saying lctest = .t.? Then how do I reference this
>variable in the 2nd object?
>
>Thanks.

Jane,

Try declaring your test flag as a private variable:

PRIVATE pnTest

pnTest = .f.

The private variable will be passed from the calling function to the called function. Then you can use it any way you'd like.
Perry E. Chrzanowski
Programmer/Analyst
Saturn (Solutions) Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform