Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Type a string date
Message
De
14/01/2011 11:21:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Divers
Thread ID:
01496168
Message ID:
01496200
Vues:
47
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform