Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
0 length string is not recognized ???
Message
De
03/01/2002 05:32:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00597801
Message ID:
00600153
Vues:
22
>VFP has EMPTY() function for that.

In general, EMPTY() will work, but I'm a bit on the paranoid side, and EMPTY() will work on zeros, .F. values and so forth. If I want an blank character string, I'd rather test with something specific to characters, so the code will generate an error if it fails to be character.

Then again, I'd also prefer that VFP had strongly typed variables, but that's my C background speaking again. :)
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform