Typical - I find one soon after I sent this message.
I'd copy & paste the code but the indenting gets removed so it looks awful.
Believe me, it works just fine.
Regards,
Alastair.
----- Original Message -----
From: "Alastair Burr" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Tuesday, August 26, 2008 8:08 AM
Subject: [RBASE-L] - Re: Switch within Switch
Bernie,
I'm sure that I use a SWITCH within a SWITCH somewhere but, at the moment,
I can't find where. If I come across it I'll confirm it.
Apart from the BREAK and variable in brackets as others have noted - I
don't think that I did anything out of the ordinary and I don't recall
that I had any problem getting it to work.
Regards,
Alastair.
----- Original Message -----
From: "Bernard Lis" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Tuesday, August 26, 2008 4:52 AM
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
No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database:
270.6.7/1632 - Release Date: 25/08/2008 07:05
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to
search for.
================================================
No virus found in this incoming message.
Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database:
270.6.7/1632 - Release Date: 25/08/2008 07:05