Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: local/global macro in regression


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: local/global macro in regression
Date   Thu, 17 Jul 2008 07:04:45 +0100 (BST)

--- Andrea Bennett <[email protected]> wrote:
> However, these local macros seem to be available only during the
> execution of the do-file. Whenever I want to refer to these macros
> via the console it doesn't work anymore. <snip> I know I could work
> with global macros but I would prefer to have something like session
> macros so that I could also use them via console but which would then
> get deleted when clearing the memory 

No, a run of a .do-file is in Stata defined as a session, so when the
.do-file is done the session ended and the local macro ceased to exist.

-- Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
*
*   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