Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strict typing...
Message
De
14/11/2001 14:23:48
 
 
À
14/11/2001 02:11:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00581332
Message ID:
00581702
Vues:
17
Paul,

You cannot enforce types in VFP, but can generate error output for undeclared variables in VFP7 with this setting:
_VFP.LanguageOptions=1
Look up the topic "LanguageOptions Property" in VFP7 help.

>Is it possible to force VFP to strictly type variables and properties...for instance I can do this:
>
>local xyz as number
>
>xyz=""
>
>and it retains the string. I have to say that I would rather it gave me an error, preferably at design time.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform