Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Type a string date
Message
From
14/01/2011 11:21:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Miscellaneous
Thread ID:
01496168
Message ID:
01496200
Views:
46
>hi all,
>
>a = dtoc( datetime() , 1 ) OR a = dtoc( date() , 1 )
>
>I want a formule that give "T" or "D" when i type A
>
>how can i have this ?
>
>
>thank in advance
>
>bernhart

To distinguish the type of a variable, or expression, you can use the type() and the vartype() functions.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform