Danielle H. Ferry
> Thank you, Nick & Roger! I can see that Nick's & Roger's answers are
> essentially the same. One more (macro) question: Why isn't
> it necessary in
> Roger's solution to put a space between _fvalcur_ and
> _:label (mpg)_ ?
... because Stata's parser is splitting the command line
into tokens. It is crawling along character
by character:
1. following its own rules on legal names, the
colon cannot be part of the macro name;
2. so the "r" of "fvalcur" must be
the last character of that name
and the ":" must be something else;
and
3. a colon is legal at that point.
Nick
[email protected]
*
* 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/