Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Invalid syntax


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Invalid syntax
Date   Fri, 21 Nov 2003 20:13:52 -0000

Zap the commas. 

Commas don't belong in varlists. If they did, 
it would be impossible to distinguish 

. foo bar, bazz 

when "bazz" is another variable 

from 

. foo bar, bazz 

where "bazz" is an option. 

I should have spotted this earlier when 
commenting on it. 

Nick 
n.j.cox@durham.ac.uk 

Clive Nicholas
 
> Just for your info, I get an 'invalid syntax' error message after
> -egen max=rmax(conpc, labpc, ldmpc, natpc, othpc)-. Not 
> sure why: that
> ought to work. 
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index