We use option 1 in codelock to create a binary command file called DELAY from
the following ASCII file:
-- Usage: RUN Delay USING <time in seconds to nearest millisecond>
-- Example: "RUN Delay USING 3.5" will pause for 3.5 seconds
SET V x REAL=.%1
SET V TimeFormat=(CVAL('TIME'))
SET TIME FORMAT HH:MM:SS.SSS
SET V Start TIME=.#TIME,Delay INTEGER=(NINT(.x*1000))
WHILE #TIME<(.Start+.Delay) THEN
ENDWHILE
SET TIME FORMAT &TimeFormat
CLEAR V Start,Delay,TimeFormat,x
RETURN
Regards,
Stephen Markson
The Pharmacy Examining Board of Canada
416.979.2431 x251
From: [email protected] [mailto:[email protected]] On Behalf Of Lawrence Lustig
Sent: Wednesday, September 05, 2012 11:33 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - PAUSE for less than one second.
I want to pause each time through a loop, but only for 250 milliseconds (a
quarter second).
PAUSE FOR works fine for whole numbers of seconds. Is there any way to pause
for something shorter than a second?
--
Larry
--- RBASE-L
=======================3D=======================3
D=
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
=======================3D=======================3
D=
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
=======================3D=======================3
D=
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
=======================3D=======================3
D=
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
=======================3D=======================3
D=