Thanks Mike, I'll use this. I thought I remembered that SLEEP had been added to R:Base itself, but I must have been thinking of this solution.
To all who contributed the WHILE loop solution, I want to avoid that as R:Base will eat up processor cycles processing the WHILE loop. The O/S sleep function doesn't use cycles. -- Larry ________________________________ From: Mike Byerley <[email protected]> To: RBASE-L Mailing List <[email protected]> Sent: Wednesday, September 5, 2012 12:53 PM Subject: [RBASE-L] - Re: PAUSE for less than one second. Larry, Use DLCall and the Sleep() API... Here is a little TEST rmd for you: {begin code} IF (ChkFunc('Sleep')) = 0 THEN STDCALL void 'Sleep' (Integer) -- It doesn't return a value ENDIF SET VAR vsleep INTEGER = 250 SET VAR vi INTEGER = 10 SET VAR vcount INTEGER = 0 WHILE vi > 0 THEN -- DLCall won't work here without a dummy placeholder return variable SET VAR vret = (DLCall('Kernel32','Sleep', vsleep)) PROCESSMESSAGE -- if you want any visual feedback unbottled SET VAR vi = (.vi - 1) SET VAR vcount = (.vcount + 1) ENDWHILE RETURN {end Code} ----- Original Message ----- From: "Lawrence Lustig" <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Wednesday, September 05, 2012 11:33 AM 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

