Robert, Bernie

I run the file below and got the results below, I don't seen any problems
with running one after another so far, and they does look like they wait
on each other.
Robert, could you post the code that you are using, and maybe we
could better troubleshoot it that way.

Jim

--tst.rmd
CLEAR ALL VAR
SET EOFCHAR OFF
OUTPUT tst.txt
WRITE 'Current Time before P1 test: ' .#TIME
SET VAR vm_tm1 = (.#TIME)
PAUSE FOR 1 USING 'One'
SET VAR vm_tm2 = (.#TIME)
WRITE 'P1 test started at: ' .vm_tm1
WRITE 'P1 test ended at: ' .vm_tm2
WRITE ' '
WRITE 'Current Time before P2 test: ' .#TIME
SET VAR vm_tm3 = (.#TIME)
PAUSE FOR 2 USING 'Two'
SET VAR vm_tm4 = (.#TIME)
WRITE 'P2 test started at: ' .vm_tm3
WRITE 'P2 test ended at: ' .vm_tm4
WRITE ' '
WRITE 'Current Time before P3 test: ' .#TIME
SET VAR vm_tm5 = (.#TIME)
PAUSE FOR 3 USING 'Three'
SET VAR vm_tm6 = (.#TIME)
WRITE 'P3 test started at: ' .vm_tm5
WRITE 'P3 test ended at: ' .vm_tm6
WRITE ' '
WRITE 'Current Time before P2-1: ' .#TIME
SET VAR vm_tm7 = (.#TIME)
PAUSE FOR 2
SET VAR vm_tm8 = (.#TIME)
WRITE 'P2-1 started at: ' .vm_tm7
WRITE 'P2-1 ended at: ' .vm_tm8
WRITE ' '
WRITE 'Current Time before P2-2: ' .#TIME
SET VAR vm_tm9 = (.#TIME)
PAUSE FOR 2
SET VAR vm_tm10 = (.#TIME)
WRITE 'P2-2 started at: ' .vm_tm9
WRITE 'P2-2 ended at: ' .vm_tm10
WRITE ' '
WRITE 'Current Time before P2-3: ' .#TIME
SET VAR vm_tm11 = (.#TIME)
PAUSE FOR 2
SET VAR vm_tm12 = (.#TIME)
WRITE 'P2-3 started at: ' .vm_tm11
WRITE 'P2-3 ended at: ' .vm_tm12
WRITE ' '
WRITE 'Current Time at end of process: ' .#TIME
OUTPUT SCREEN
SET EOFCHAR ON
RETURN

Results were:

Current Time before P1 test:  1:38:31 PM
P1 test started at:  1:38:31 PM
P1 test ended at:  1:38:32 PM

Current Time before P2 test:  1:38:32 PM
P2 test started at:  1:38:32 PM
P2 test ended at:  1:38:34 PM

Current Time before P3 test:  1:38:34 PM
P3 test started at:  1:38:34 PM
P3 test ended at:  1:38:37 PM

Current Time before P2-1:  1:38:37 PM
P2-1 started at:  1:38:37 PM
P2-1 ended at:  1:38:39 PM

Current Time before P2-2:  1:38:39 PM
P2-2 started at:  1:38:39 PM
P2-2 ended at:  1:38:41 PM

Current Time before P2-3:  1:38:41 PM
P2-3 started at:  1:38:41 PM
P2-3 ended at:  1:38:43 PM

Current Time at end of process: 1:38:43 PM

Bernard Lis wrote:
Are the pauses ocurring less than 2 seconds apart?
Don't know, just a wild guess but if the second pause starts before the first one finishes well......
Bernie Lis


    ----- Original Message -----
    From: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
    To: RBASE-L Mailing List <mailto:[EMAIL PROTECTED]>
    Sent: Thursday, September 18, 2003 12:36 AM
    Subject: [RBASE-L] - Pause for n command

I have a strange problem with the 'Pause for n' command. In one file
I have five of them. Only three work as designed. The other two
(identical) just keep the prompt standing there refusing to
disappear unless the OK button is pressed. They all use the 'for 2'
option.
Help anyone?
Robert



Reply via email to