Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comparing
Message
De
07/03/2003 10:48:30
 
 
À
07/03/2003 08:52:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00762655
Message ID:
00762741
Vues:
13
Actually, disregard my other post. This should work if the values of TIME() are already stored in the variables:
CLEAR
a=TIME()
?a
lncount=OCCURS(':',a)
FOR i = 1 TO lncount
    a=LEFT(a,RAT(':',a)-1)+RIGHT(a,LEN(a)-RAT(':',a))
ENDFOR
?A
=inkey(2)
b=TIME()
?b
lncount=OCCURS(':',b)
FOR i = 1 TO lncount
    b=LEFT(b,RAT(':',b)-1)+RIGHT(b,LEN(b)-RAT(':',b))
ENDFOR
?b
?INT(VAL(a))<INT(VAL(b))
?INT(VAL(b))<INT(VAL(a))
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform