Statalist


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

Re: st: RE: foreach problem


From   Neil Shephard <[email protected]>
To   [email protected]
Subject   Re: st: RE: foreach problem
Date   Wed, 17 Sep 2008 09:16:12 +0100

Rajesh Tharyan wrote:
Not an excuse for looking carefully enough, but does stata have something
built in to check for this?
Yes its the error message you received stating...

. abnor'var' invalid name
r(198);
Its not very informative as the online help indicates, but it does point out that you need to look at _exactly_ how you've typed your variable names. Although in this particular instance it was your mis-specification of single-quotes around the local macro that was the root cause of the error.

See -search r(198)- for more info.

Neil

***********************************************************************
This message may contain confidential and privileged information.
If you are not the intended recipient you should not disclose, copy
or distribute information in this e-mail or take any action in reliance
on its contents. To do so is strictly prohibited and may be unlawful.
Please inform the sender that this message has gone astray before
deleting it. Thank you.

2008 marks the 60th anniversary of the NHS. It's an opportunity to pay
tribute to the NHS staff and volunteers who help shape the service, and
celebrate their achievements.

If you work for the NHS and would like an NHSmail email account, go
to: www.connectingforhealth.nhs.uk/nhsmail
***********************************************************************

*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* 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