Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is this command that replace Type()?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00385673
Message ID:
00385680
Vues:
7
>I know in VFP6.0 we now have a command that replace the old Type() command.
>
>But what's the name of that command?

VARTYPE() - it doesn't replace TYPE(), it evaluates the type of an expression rather than the string representing the expression, has slightly different returns for null and undefined expressions, and can smoke when referencing properties of non-existant objects. When it does work, it runs much faster than TYPE() because of the lack of a need to EVAL() the string provided to get the type of the expression, but does blow up with double-indirected non-existant values.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform