Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Testing equality of multiple values


From   Zachary Neal <[email protected]>
To   [email protected]
Subject   st: Testing equality of multiple values
Date   Tue, 18 Sep 2007 13:54:47 -0700 (PDT)

Hi,

I have 26 local macros defined, named a-z.  Is there a
simpler way to test whether `a' is equal to any of the
other macros b-z than: `a'==`b' | `a'==`b' | ... |
`a'==`z'?

Thanks
Zachary

-----------------
Zachary Neal, ABD
Managing Editor, City & Community
University of Illinois at Chicago
[email protected]


       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index