Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Public and local variable of the same name?
Message
De
19/01/2008 10:11:59
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
19/01/2008 04:29:46
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01282432
Message ID:
01283233
Vues:
18
>Slight correction: local and public create variables, which can be accessed directly without any previous assignment in the subfunction. Private only hides any previously delclared var, but you must assign a value first before accessing it down the line again.

Yes, you are right.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform