Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: What is EGEN_Varname and EGEN_SVarname ?
From
Maarten Buis <[email protected]>
To
[email protected]
Subject
Re: st: What is EGEN_Varname and EGEN_SVarname ?
Date
Tue, 31 Jul 2012 09:32:06 +0200
On Mon, Jul 30, 2012 at 11:25 PM, Pradipto Banerjee wrote:
> 2. On a standalone basis, what does it mean if we use "_all" such as in `"`args'"' =="_all"? I already AWARE of the usage(s) of _all in -drop _all-, -program drop _all- etc. This usage of `"`args'"' =="_all" is NOT documented in the programming manual!
"_all" is just a string containing the characters _all, so that line
just checks whether the contents of the local macro `args' is equal to
the string "_all". There is not much to document here otherwise one
would have to document the "a" is a string containing the character a,
"b" is a string contraining the character b, etc. etc.
> 3. In the -egen- code, what the following line achieve? Or intends to achieve?
>
> local args : subinstr local args "`_sortindex'" "", all word
see -help extended_fcn-
-- Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
*
* 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/