Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Century off
Message
 
 
À
22/03/2009 14:30:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01390409
Message ID:
01390427
Vues:
53
>>>>Yes, it should if the century is OFF.
>>>
>>>But it ain't!!!???
>>
>>I tried a second ago and it worked for me. See my answer in other message.
>
>Naomi:
>
>It's working correctly now for me as well. My eyes must have been playing truicks with me.
>
>HOWEVER, look at the following:
>
>
>CLEAR
>
>SET STRICTDATE TO 0
>SET CENTURY off
>
>w_dt = {1/1/2009}
>
>@ 1,2 say SET('cent')
>@ 1,50 say w_dt
>@ 2,50 get w_dt
>read
>
>The GET is not working properly. It only has enough space for a two-digit year, yet display a four digit year. How can I get the GET to display correctly?

Is there any way to use more modern commands for this? I'm afraid I don't remember these commands too deep :) It may be achieved with some format clauses in GET, I assume.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform