Snap! This has bugged me for ages and yesterday I added this code after my first pause:
-- wait for batch file to fully write to disc before accessing... -- (using PAUSE puts a button on the display) SET VAR v1 INTEGER = (ISEC(.#TIME)) SET VAR v2 INTEGER = (.v1 + 3) WHILE v1 < .v2 THEN SET VAR v1 INTEGER = (ISEC(.#TIME)) ENDWHILE Regards, Alastair. ----- Original Message ----- From: "Betaserver" <[EMAIL PROTECTED]> To: "RBG7-L Mailing List" <[email protected]> Sent: Friday, February 25, 2005 6:26 PM Subject: [RBG7-L] - Pause & Pause For Behavior I have a command file that is a simple loop that creates files on the hard drive that I just converted from 6.5 to 7.1. Prior to entering the loop I place a simple Pause 4 using 'Please wait file creation in process' Then we enter the loop and one by one the files are created, but in between each run of the loop I placed a Pause for 2 in the code to give the hard drive enough time to make sure the file is fully written. What happens is when it hits the pause for 2 command, it places an OK button on pause 4 dialog box. Then after the pause for 2 command finishes, it erases the Pause 4 box off the screen completely. In RB 6.5 a Pause for N command never displayed anything nor did it interfere with a Pause 4 window. Is there anyway to stop/suppress the Pause for N from taking over the Pause 4 window.. I suppose a work around is to not use the pause for N command and replace it with a While counting loop. Simple Example Test Code pause 4 using 'this is a test' set var vcount integer = 0 while vcount < 50 then set var vcount = (.vcount + 1) pause for 1 *( here you see an 'OK' Box appear on the Pause 4 window and then after it Finishes the pause 4 window is cleared *) endwhile return Suggestions welcome. Thanks -- Frank -- Frank Taylor, Systems Network Administrator -- F.J. O'Hara Corp, Boston, MA -- [EMAIL PROTECTED] - 617-790-3093
