Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | William Buchanan <william@williambuchanan.net> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | Re: st: label variable: curious response |
Date | Thu, 30 May 2013 08:53:55 -0700 |
It might be an issue with your character encoding. Notice that in both examples you have two sets of right double-quotation marks. Changing that might affect things. HTH, Billy Sent from my iPhone On May 30, 2013, at 8:38, Michael McCulloch <mm@pinestreetfoundation.org> 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); > > > Even though the Help Label instructions show examples of labels containing spaces, that error message is not reported if I change the command to: > . la var south ”Lives” > > I'd appreciate any guidance. > > Best wishes, > Michael McCulloch, LAc MPH PhD > > -- > Pine Street Foundation, since 1989 > 124 Pine Street | San Anselmo | California | 94960-2674 > P: (415) 407-1357 | F: (206) 338-2391 | http://www.PineStreetFoundation.org > > > * > * 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/ * * 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/