Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bulent Koksal <email@example.com>
Tue, 18 Oct 2011 11:32:01 +0300
Dear Stata Users,
In SAS I can write a command like
if bankid in (2,25,46,76) then newvar=1; else newvar=0;
How can I do this in Stata? I don't want to keep writing bankid ==2 |
any easy way of doing this? Thank for any help.
* For searches and help try: