Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with DateTime variable
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem with DateTime variable
Divers
Thread ID:
00202265
Message ID:
00202265
Vues:
52
I have program like this (in VFP5):

**************
Set TextMerge To test.txt
Set TextMerge on
Set Date British

Local lnIndex, ltDT

ltDT = {01/01/95 00:00:00}

For lnIndex = 1 To 1000
\<> <>
ltDT = ltDT + 900 && add 15 min
EndFor

Set TextMerge Off
Set TextMerge To
**************

Variable ltDT always must have 0 seconds. But it will be {11/01/95 05:30:01} after 983 iterations. Why?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform