Bernie, My editor hasn't had enough Starbucks this morning.
"... and do not RUN or CALL anything within it. Calls to stored procedures are fine." First I tell you to not use CALL, then say that CALL is fine. CALL is fine. Emmitt Dove Manager, DairyPak Business Systems Evergreen Packaging, Inc. [EMAIL PROTECTED] [EMAIL PROTECTED] (203) 643-8022 -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Emmitt Dove Sent: Tuesday, August 26, 2008 6:45 AM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Switch within Switch Bernie, SWITCH nested within SWITCH is a nice way to reduce the otherwise necessary and confusing nested IF/ENDIF statements to deal with certain logical problems, and works just fine if properly constructed. Be careful, though, to not GOTO out of it (set a variable for a label, use BREAK, then GOTO &vlabel), and do not RUN or CALL anything within it. Calls to stored procedures are fine. Emmitt Dove Manager, DairyPak Business Systems Evergreen Packaging, Inc. [EMAIL PROTECTED] [EMAIL PROTECTED] (203) 643-8022 -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bernard Lis Sent: Monday, August 25, 2008 11:53 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: Switch within Switch While waiting for the experts to chime in -- I changed the embedded switch/endsw to a series of if statements and now I got the results I was looking for. But I am still curious about switch within switch, should it work? has anyone used that technique? Bernie Lis ----- Original Message ----- From: "MikeB" <[EMAIL PROTECTED]> To: "RBASE-L Mailing List" <[email protected]> Sent: Monday, August 25, 2008 11:16 PM Subject: [RBASE-L] - Re: Switch within Switch > Ken, > > I am sure that wasn't real code, but pseudo code. > Having said that, Bernie should post the real stuff so an actual answer > might be advanced. Precious few brain cells I have left, I won't give any > of them up to either of the conventions. > > > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: "RBASE-L Mailing List" <[email protected]> > Sent: Monday, August 25, 2008 11:08 PM > Subject: [RBASE-L] - Re: Switch within Switch > > >> Do you have a Break after section. I haven't tried this, but without a >> break won't the default block be executed? >> >> Regards, Ken >> >> ----- Original Message ----- >> From: Bernard Lis >> Date: Monday, August 25, 2008 10:12 pm >> Subject: [RBASE-L] - Switch within Switch >> To: [email protected] (RBASE-L Mailing List) >> >>> Can you program and watch the democratic convention at the same time? >>> >>> I am having a problem that I think is losing the switch variable >>> if I have a >>> switch within a switch, i.e.: >>> >>> Switch .A >>> case >>> Switch .B >>> case >>> default >>> endsw >>> case >>> default >>> endsw >>> >>> Is this legal? >>> I seem to be losing the value of A >>> >>> Bernie Lis >>> >>> >>> >> > > >

