Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the empty value
Message
De
05/04/2005 13:39:59
Todd Cottengim
Alpine Land Information Services
Redding, Californie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Getting the empty value
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01001595
Message ID:
01001595
Vues:
65
I feel like a rank amateur for asking this but I have not found the answer I am looking for through searches. The answer is probably so easy, but I have yet to find it.

I would like to get the empty value for a given variable type. In other words, if a given variable is numeric, the function would return 0, for character it would return "", and so on. I could write a function with a case statement on the VARTYPE() but I thought VFP might have some sort of native functionality.

Thanks for you help.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform