Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable
Message
De
02/05/2003 15:51:32
 
 
À
02/05/2003 15:42:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00784321
Message ID:
00784343
Vues:
20
Vartype has to return something. What did the other two lines show?

BTW, ipaddr is probably already a character string...because the type() function expects a character string as its parameter.

For example:
? vartype(cXyz)  && should show "U", since it is not defined yet
cXyz = "nXyz"
? type(cXyz)  && should show "U"
? vartype(cXyz)  && should show "C"
nXyz = 5
? type(cXyz)  && should show "N"-->because it really refers to nXyz
? type("nXyz") && should show "N"
? vartype(nXyz) && should show "N"
? type(nXyz)  && should crash, because type needs a character expression to evaluate
HTH...

>when i do vartype i have nothing
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform