Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strict typing...
Message
 
À
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:
00581413
Vues:
21
>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.

There is no strict typing in variable
i suggest that you adhere to a naming convention
to help you know the type of variable.

ie:
nXyz=25
cXyz="abc"
lXyz=.T.
dXyz={^2001/05/24}
...

HTH :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform