Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Re: -levels- question

From   "Nick Cox" <>
To   <>
Subject   RE: st: Re: -levels- question
Date   Thu, 18 Sep 2003 19:02:04 +0100

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;


3. a colon is legal at that point.


*   For searches and help try:

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