Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable numeric or character
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01591614
Message ID:
01591693
Views:
41
Karen,
Yup, I got that one backwards. Thanks for pointing that out.
John

>From following these threads, the only issue I can see that might arise with vartype() is that a variable might sneak in that is blank - apart from that, the values are guaranteed to be either C or N since I select the scope - so if I understand correctly adding a provision to deal with 'X' would cover all my bases. Correct?
>k
>
>>Added for speed was vartype(), which sometimes barfs where slower Type() works. returning wrong resulst I have not witnessed, it had the "X" for .null. as difference
>>>
>>>Beware, do not use TYPE(). It was added for speed but makes little difference and is known for returning the wrong result at times. I have seen this myself.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Reply
Map
View

Click here to load this message in the networking platform