[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: a graph named "new"
Eva Poen <[email protected]> asks,
> This is a very minor issue, but anyway: How come I cannot name a graph "new"?
>
> In Stata 9.2, or an up-to-date Stata 10.1, the following produces an error:
>
> sysuse auto
> scatter price mpg, name(new)
>
> The error message is "new invalid member variable identifier" r(198).
> [...]
Kit Baum <[email protected]> correctly noted that the problem stems from the fact
that "new" is a class-system reserved word.
That's true, but it's not good. It is on our list to put graph names into
their own namespace so that names like "new" are allowed. I won't promise
when this will be done. It's an incredibly finicky thing to change.
-- Vince
[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/