Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Type()
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Type()
Miscellaneous
Thread ID:
01437036
Message ID:
01437038
Views:
79
>zoo="abc"
>?TYPE(zoo)
>comes out as "U", why would the type not be defined as "C" for character for that is what it is?

The TYPE() function evaluates its parameter before determining its type. IOW, you have to enclose variable in the quotes. Alternatively, you can use VARTYPE() function
? TYPE("zoo")
? VARTYPE(zoo)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform