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

Re: st: Stata tripping on braces

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

Gabi Huiber <> 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

*   For searches and help try:

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