Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is Vartype() supposed to do this?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00813681
Message ID:
00813701
Vues:
7
>
>? message()                            &prints <whatever>
>? vartype( myNonExistantVar )          &prints 'U'
>? message()                            &prints 'Property MYNONEXISTANTVAR is not found'
>
>
>TIA

This behavior has been around for a while. Both TYPE and VARTYPE will reset any error information in VFP. If you intend to use TYPE or VARTYPE, you should store any error into other variables first.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform