Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: label variable: curious response


From   David Kantor <kantor.d@att.net>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: label variable: curious response
Date   Thu, 30 May 2013 11:54:49 -0400

Hello,

At 11:38 AM 5/30/2013,  Michael McCulloch wrote:
Greetings!

I'm scratching my head over the following error message:

. sysuse nlsw88, clear
. gen wt = int(uniform()*10)
. la var south "Lives in the south"

invalid syntax
r(198);
[...]

Looks like you attempted to enclose the label in quotes, but not the usual plain-text quotation marks.
Are you using a word-processor, rather than a text editor?

HTH
--David

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index