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

st: RE: Invalid syntax

From   "Nick Cox" <>
To   <>
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 


. foo bar, bazz 

where "bazz" is an option. 

I should have spotted this earlier when 
commenting on it. 


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:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index