Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vartype: behavior
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00136852
Message ID:
00139423
Vues:
38
>VARTYPE() currently behaves by design, there will not be a patch or change to it in future versions. The design is to pass a calculated expression/value. In the cases of a variable not existing, it returns U, as a convenience, so that it can be used in a few more useful situations.

So, in other words, VARTYPE() really isn't intended nor should be used for objects, where an error could result? That's what started this thread originally, VARTYPE() can cause errors in some cases where objects do not exist.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform