Statalist


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

st: local macro trouble


From   "Ashim Kapoor" <ashimkapoor@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: local macro trouble
Date   Tue, 23 Sep 2008 15:02:56 +0530

Hi everyone,

Maybe I am getting tired so I am not able to see this. Maybe some one
else can see it.

I do this : -- >

egen twodayfallindex=sum(twoindex)
local dispdate = twodayfallindex[_N]


in a do file.

and after  I run the do file if I say -macro dir- it does not show up
in the macros!!

How can that be ?

I don't know why I am unable to initialize this macro : ( !

Thank you,
Ashim.
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index