Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clipper Gets/Reads
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00479102
Message ID:
00479104
Vues:
29
>Attention Clipper users !!! (someone way, WAY in the back cheers, hehe)
>Take a look at this function...
>
>FUNCTION settime()
> PRIVATE lctime
> lctime=''
> clrscr() && personal function, just clears the screen
> setforecolor(110)&& personal function, sets inverse color
> @ 0,0 SAY ' Set Current Time '
> setforecolor(100)&& same as above, sets normal color
> @ 2,0 SAY 'Current Time:'+TIME()
> @ 3,0 SAY 'Use military time...'
> @ 4,0 SAY 'Set New Time: '
> @ 5,10 GET lctime PICTURE "##:##:##"
>
> READ
>
> IF !EMPTY(lctime)
> RUN time &lctime
> && run DOS time and set &lctime
> ENDIF
>
> RETURN
>
>When I run this function, or 2 others like it, it flies right through the function, ignoring the READ. If you know how to get it to actually stop on the READ and let me enter the time, PLEASE let me know.
>
>What would I do without you guyz (and gals, political correctness).

Is this in Clipper? Maybe you've got a keystroke in the buffer. Did Clipper have a CLEAR TYPEAHEAD?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform