> Apologies for previous premature send.
>
> I don't know if what appears in my mailer
> is exactly what you typed, but my advice
> is _never_ to place any text on a line after
> a left brace { in a loop. Always start a new
> line.
>
> Sometimes Stata can work out what you
> mean when you do that, but it is not
> guaranteed that it will be able to do so.
>
> This is perhaps tacit rather than explicit
> in documentation.
>
Good advice from Nick Cox. Still and all, presumably Stata should at
least respond with an error message, rather than exiting completely.
(Behavio(u)r I just confirmed.)
I'll note also that -if <condition> { do something }- works and is
commonly used in both user and Stata-written code...
--Nick Winter
*
* 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/