Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How determine entered value type
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00383408
Message ID:
00383499
Vues:
15
Nadya,

TYPE() returns the data type of an expression. Your variable needs to be in quotes as in;
lcDat = "ABC"
? TYPE("lcDat") && C
? TYPE(lcDat) && U

lcDat = "12/31/90"
? TYPE("lcDat") && C
? TYPE(lcDat) && N because 12 is a number
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform