Thanks for your response Nick. I am puzzled too. I just went with your suggestion to use -inlist- and it worked as expected. Thank you.
Mike
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox
Sent: Friday, February 22, 2013 8:04 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: multiple conditions using an if statement?
I am puzzled by your report, as I don't see that this code should behave as you say.
But what you wrote is not illegal; if it had been, there would have been an error message.