Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clipper Gets/Reads
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00479102
Message ID:
00479104
Views:
28
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform