Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Stata tripping on braces


From   [email protected] (William Gould, StataCorp LP)
To   [email protected]
Subject   Re: st: Stata tripping on braces
Date   Mon, 28 Jul 2008 13:23:04 -0500

Gabi Huiber <[email protected]> reports, 

> It [Stata] trips here:
> 
>     . forvalues i=1/${mergecount} {
>     program error: code follows on the same line as open brace
>     r(198);

> I dispute that this is a program error. I think that Stata is at fault
> on this one. It reads the open brace after $, whose job is simply to
> frame the mergecount global name, as if it were the brace that foreach
> calls for, whose job is to frame the code that follows.

I agree.  We will get it fixed.

-- Bill
[email protected]

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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