Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How determine entered value type
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00383408
Message ID:
00383458
Views:
17
>Nadya,
>
>Read up on the TYPE() and VarType() functions.

lcDat='12/12/90' && Should be date format
?type(lcDat) && N
lcLog='.t.'
?type(lcLog) && Logical, good
lcNum='11' && Numeric, good
?type(lcnum)
?vartype(lcnum) && C
lcChar='mother'
?type(lcChar) && U

So, how can I determine date or datetime? And how can I determine character?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform