Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Type()
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Type()
Divers
Thread ID:
01437036
Message ID:
01437043
Vues:
65
>I don't like the VARTYPE() function personalty. Execute the following code and you will see its limitations.
>
>? TYPE("_screen.Forms.BadProp") && Returns "U"
>
>? VARTYPE(_screen.Forms.BadProp) && Returns Error "Unknown member FORMS"

It's not intended use of the VARTYPE() function. The VARTYPE() function was originally introduced as fast alternative to TYPE() in cases when variable/property exists. Later per developers requests it was extended to handle more case but it still not replacement for the TYPE() function in cases when variable/property may not exist.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform