Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SYS(10) returns a number?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00273259
Message ID:
00273262
Vues:
20
>I'm trying to return a string from a julian date. The help says:
>"SYS(10) returns a Character-type date from a Julian day number"
>If I ?SYS(10,2451458) in the command window, I get: 10/06/99. If I ?TYPE(SYS(10,2451458)), I get a N.
>Does anyone know what's going on here?
>
>TIA

Try lcdate = SYS(10, 2451458), then ? TYPE('lcdate'), you'll get a C. The problem is that TYPE() requires the variable in quotes. With VARTYPE() pass the variable.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform