Bernie, David,

When I first read David's reply I thought " oh yes, that makes sense" but on
second thoughts I wonder why it should make sense.

Surely QUIT to any file intentionally "forgets" anything that was going on?
If so, then the file that is subsequently started should be irrelevant.

That said, I think that where I have any cycle of QUITs it is always to a
different file...

Regards,
Alastair.



----- Original Message ----- 
From: "Bernie Corrigan" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Wednesday, May 25, 2005 11:19 PM
Subject: [RBG7-L] - Re: R:Base 7.5/7.1 creates 2 GB swap file onexit


> David -
>
>         There are a number of places in my 6.5++
> apps where I quit to the current routine.  It
> clears all open IFs, WHILEs, and RUNs.  In
> fact it is the only way I can get forms which
> have a lot of eeps to run properly when the
> form is used in an iterative fashion.
> Sounds to me like in 7.1 QUIT TO may no
> longer be clearing the open processes.
>
> Bernie
>
>
>
> At 02:37 PM 5/25/2005 -0400, you wrote:
> >Michael
> >
> >I assume we're LOOKING at MAIN.CMD?
> >
> >If so, it's defintely a no no to QUIT TO MAIN.CMD from within MAIN.CMD!!
> >Why would you do that?  If you want it at that point to start over at the
> >beginning of the file, just add
> >
> >LABEL TOP at the top
> >
> >and replace
> >
> >QUIT TO MAIN.CMD with GOTO TOP
> >
> >QUIT TO MAIN.CMD belongs at the END of the sub-routines you call from
> >MAIN.CMD so it will return to the main menu program.
> >
> >David
> >
> >David Blocker
> >[EMAIL PROTECTED]
> >781-784-1919
> >Fax: 781-784-1860
> >Cell: 339-206-0261
> >----- Original Message -----
> >From: "Michael Moser" <[EMAIL PROTECTED]>
> >To: "RBG7-L Mailing List" <[email protected]>
> >Sent: Wednesday, May 25, 2005 1:48 PM
> >Subject: [RBG7-L] - R:Base 7.5/7.1 creates 2 GB swap file on exit
> >
> >
> >Here is an odd one - R:Base 7.1 or 7.5 running under XP Pro SP2
> >
> >This is part of a file that loops back on itself to redisplay a menu.  I
> >have used this same process successfully in R:Base 6 without problems.
> >
> >If the "Quit to Main.cmd" is simply in the program and the "Exit" line is
> >executed, R:Base brings the system to it's knees for about 3 minutes
while 2
> >GB is written to the swap file then deleted.  Then all is back to normal.
> >
> >if the "Quit to Main.cmd" line is commented out the "Exit" command works
> >fine, no delays.  I can't see a reason for this as the "Quit" command is
> >farther down in the code and should never be executed when "EXIT" is
> >executed.
> >
> >No database even needs to be connected so it is not a database issue.
> >
> >------------------------
> >CLS
> >
> >CHOOSE vans +
> >FROM +
> >#LIST 'Safe Deposit,Box Inventory,Video Tapes,R> Prompt,Exit' +
> >AT CENTER CENTER CAPTION 'Record Selection'
> >
> >IF vans = '[ESC]' OR vans = 'R> Prompt' THEN
> >  QUIT TO cleanup.cmd
> >ENDIF
> >
> >IF vans = 'Exit' THEN
> >  EXIT
> >ENDIF
> >
> >-- other conditions here
> >
> >IF vans = 'Safe Deposit' THEN
> >  QUIT TO safe.cmd
> >ENDIF
> >
> >*(causes 2 GB to be written to the Swap file then deleted if the "EXIT"
> >command above is executed.)
> >QUIT TO main.cmd
> >
> >RETURN
> >
> >-----------------------
> >
> >Any thoughts?
> >
> >Thanks,
> >Michael
> >
> >
> >
> >Michael Moser
> >EXAQ Micro Services
> >www.exaq.com
> >Phone: 916-966-8313
> >Fax: 916-244-0582
> >
> >
> >
>

Reply via email to