Statalist


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

Re: st: RE: saving local macros


From   Philipp Rehm <[email protected]>
To   [email protected]
Subject   Re: st: RE: saving local macros
Date   Wed, 07 Jan 2009 17:08:43 +0000

True.
How about forcing it into a (string) variable? Even more tedious, but perhaps a way to do it.

Ph

Nick Cox wrote:
A matrix could not be used for macros with string content. (Strictly,
all macros are strings, but clearly some have numeric content.) Nick [email protected]
Philipp Rehm

I think that's what do-files are for.

Nevertheless: how about building up a matrix which contains the local macros you encounter, which you then save into a variable? You could then recover the local macros with -levelsof-, for example.

But I guess a do-file is the more straightforward approach...


Ashim Kapoor wrote:
I somehow feel that you can save local macros in a way other than
using -notes- can you ??


*
*   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/

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