Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: a graph named "new"


From   vwiggins@stata.com (Vince Wiggins, StataCorp)
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: a graph named "new"
Date   Thu, 12 Feb 2009 17:31:09 -0600

Eva Poen <eva.poen@gmail.com> 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 <baum@bc.edu> 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 
   vwiggins@stata.com

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index