Long ago I was advised by RBTI to use a form to exit - I forget why now but obviously to resolve some problem I was having.
I've just checked and the EEP in that form has EXIT followed by RETURN; The RMD that calls the form has a RETURN at the end, too. Clearly, it's needed and it's not difficult to implement - just one extra line where needed. Of course, RSTYLE always puts one in if you forget it. Regards, Alastair. ----- Original Message ----- From: Dennis McGrath To: RBASE-L Mailing List Sent: Thursday, October 15, 2009 6:03 PM Subject: [RBASE-L] - Re: Background Color and Focus on Form We all have our opinions, don't we? The quit to makes sure that all nesting levels are closed, so you are exiting from level 0. This is a fairly recent innovation on my part because I had a need. Dennis ------------------------------------------------------------------------------ From: [email protected] [mailto:[email protected]] On Behalf Of Alastair Burr Sent: Thursday, October 15, 2009 10:49 AM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Background Color and Focus on Form Again, there is a certain logic... EXIT tells R:Base to close while RETURN defines the end of the command file... That said, it's not _my_ logic!!! Regards, Alastair. ----- Original Message ----- From: Dennis McGrath To: RBASE-L Mailing List Sent: Thursday, October 15, 2009 4:23 PM Subject: [RBASE-L] - Re: Background Color and Focus on Form I have gone to having an EXIT.CMD that just contains: EXIT RETURN To exit: QUIT TO EXIT.CMD This seems to be the absolute most reliable way to do it. I have found that if you do not do this, MS seems to hold onto the last file run as if it was still open. Dennis McGrath ---------------------------------------------------------------------------- From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Thursday, October 15, 2009 10:00 AM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Background Color and Focus on Form I've found another important thing about the RETURN command. I occasionally have had a startup app hang when it has an EXIT command in it. I found that you have to have RETURN immediately after the EXIT. Fixes my problem every time! Karen Glad to be of help... You raise an interesting point about the RETURN - the help makes no mention of the need for one to follow the SKIP _but_ there is a certain logic to it depending on what else the EEP of the calling object might to and what the landing object will then do. Anybody else any thoughts? Regards, Alastair. ---------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.421 / Virus Database: 270.14.18/2437 - Release Date: 10/15/09 03:57:00 ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.421 / Virus Database: 270.14.18/2437 - Release Date: 10/15/09 03:57:00

