The paren is absolutely necessary for predicable results.

Dennis McGrath

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bernard Lis
Sent: Monday, August 25, 2008 10:45 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Switch within Switch

I didn't put the the switch var in parens, I'll see if that makes a diff.

----- Original Message -----
From: "James Bentley" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Monday, August 25, 2008 11:16 PM
Subject: [RBASE-L] - Re: Switch within Switch


> Bernie,
> Try the following.  Note Switch requires that .variable be within
> parenthesis.  Also, note inserted BREAK
>
> Switch (.A)
>   case value
>     Switch (.B)
>       case value
>        BREAK
>       default
>        BREAK
>     endsw -- .B
>    BREAK
>  case value
>   BREAK
>  default
>   BREAK
> endsw  -- .A
>
> Jim Bentley
> American Celiac Society
> [EMAIL PROTECTED]
> tel: 1-504-737-3293
>
>
> --- On Mon, 8/25/08, Bernard Lis <[EMAIL PROTECTED]> wrote:
>
>> From: Bernard Lis <[EMAIL PROTECTED]>
>> Subject: [RBASE-L] - Switch within Switch
>> To: "RBASE-L Mailing List" <[email protected]>
>> Date: Monday, August 25, 2008, 9:10 PM
>> 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
>
>
>
>
>
>


Reply via email to