Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Test If a Variable exists
Message
From
01/09/2006 08:23:30
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01150290
Message ID:
01150335
Views:
26
Hi everybody!

>>My syntax is correct.
>>
>Sorry, it isn't
>The variable name does not need quotes for vartype()
>VARTYPE("SomeVariable") will always return 'C'

Gregory and Fabio are right, Sergey!
It's documented as they say. And I tested it.
The quotes are used if using TYPE().
And documentation says that VARTYPE() is faster than TYPE().

Many thanks to both of you.
***
TONY Nascimento
*****************

"Your mind is like a parachute. It only works if it is open" - Anthony J. D'Angelo

"The desire to know is natural to good men" - Leonardo da Vinci
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform