Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00432546
Message ID:
00432567
Vues:
16
>>ok..why does this not work:
>>
>>lnyear = 2000
>>lnmonth = 10
>>lnday = 1
>>
>>x = {^lnyear-lnmonth-lnday}
>>
>>
>>but this DOES work...
>>x = {^2000-10-1}
>
>Victor,
>
>The difference between variables and literals.
>
>This will work;
>
>lcYear = "2000"
>lcMonth = "10"
>lcDay = "1"
>x= {^&lYear-&lcMonth-&lcDay}

I actually had already tried that and had the same problem..but I did find a way around it by using the CTOD() gizmo.
ICQ 10556 (ya), 254117
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform