Bill,

Thank you. I will now bath my tongue with more coffee.
I forgot about the default.

Jan
 


-----Original Message-----
From: Bill Downall <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Mon, 26 Sep 2011 12:09:06 -0400
Subject: [RBASE-L] - Re: SWITCH question

Jan,


If you have a DEFAULT block after your other cases, and none of the other 
cases was broken out of, then the DEFAULT block should execute.


SWITCH (.myvar)
CASE 'A'
  RUN somethingA.rmd
  BREAK
CASE 'B'
  RUN somethingB.rmd
  BREAK
DEFAULT
  run somethingOther.rmd
  BREAK
ENDSW





On Mon, Sep 26, 2011 at 12:02 PM, jan johansen <[email protected]> 
wrote:

Morning (at least where I am). I am familiar with using the switch but
can I switch on a NULL ?
 
Jan
 

Reply via email to