Thanks, I am reviewing all my exit statements to make sure I do this.
Ron


On Tue, Dec 31, 2013 at 7:38 PM, Steve Johnson
<[email protected]>wrote:

>  Don't forget R:Style, (control -Y) used to check eep's or other code
> which should pick this syntax error up as well , it is a great tool!
>
> S Johnson
>
> At 06:39 PM 12/31/2013, Karen Tellef wrote:
>
> And I would add to ALWAYS do a "disconnect" before an "exit".
> I have found that not doing so increases the odds of the software
> not shutting down completely.
>
> Karen
>
>
>
> -----Original Message-----
> From: Albert Berry <[email protected]>
> To: RBASE-L Mailing List <[email protected]>
> Sent: Tue, Dec 31, 2013 4:56 pm
> Subject: [RBASE-L] - Re: Exiting from a cmd file
>
>
> Here's how it is done:
>
> IF whatever THEN
>      do whatever
>     GOTO Stop
> ENDIF
>
> whole bunch more code
>
> LABEL Stop
> EXIT
> RETURN
>
>
> On 12/31/2013 3:18 PM, Ronald C Peterson wrote:
> > I have a cmd file with an EXIT inside a IF statement that instead of
> > exiting leaves the user in a loop with the screen flashing.  If the
> > EXIT is outside the IF statement it seems to work okay.
> >
> > Is there something special to do in order to EXIT from inside the code?
>
>
>

Reply via email to