Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best approach about #DEFINE constants
Message
 
 
À
15/05/2008 10:57:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01316940
Message ID:
01317311
Vues:
12
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform