Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is this command that replace Type()?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00385673
Message ID:
00385680
Views:
8
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform