Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best approach about #DEFINE constants
Message
 
 
To
15/05/2008 10:57:32
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01316940
Message ID:
01317311
Views:
11
>Keep in mind that PRIVATE does ***NOT*** 'create' any variable.
>So if you want such "variables" available with some value in later methods/functions/etc you have to both declare them PRIVATE and assign values to each right away.

The reason I was asking this that I remember I had problems but my recollections are vague.

Say, I declared some variables in the calling program as private, assigned values, then called the form. IIRC these variables were only visible in the Load method of the form.

But I really don't remember the details, so I'll take Stefan's word as it works correctly.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform