[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: valid invalid syntax
This is perfectly legal. See [U] 14.1.7 (p.97
for version 8 manuals).
I wouldn't recommend it because I think
it makes logs more difficult to read and
programs more difficult to debug, but
that's a different matter.
> marking biostat exam my students have used the following
> "invalid" stata
> syntax for egen, but with succes.
> egen gr=cut(x) , at(.1,.3,.5,.8,1) ,if y==1
> wich give the same result as
> egen gr=cut(x) if y==1 , at(.1,.3,.5,.8,1)
> Have any of you experinced other occations of violation of the
> commandname varlist [in if], options
> should this be okay or should I send a bug rapport to stata?
* For searches and help try: