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

st: RE: local macro trouble

From   "Martin Weiss" <>
To   <>
Subject   st: RE: local macro trouble
Date   Tue, 23 Sep 2008 11:39:23 +0200

Maybe the -local- dies with the do-file? Have you tried a -global-?


-----Original Message-----
[] On Behalf Of Ashim Kapoor
Sent: Tuesday, September 23, 2008 11:33 AM
Subject: st: local macro trouble

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,
*   For searches and help try:

*   For searches and help try:

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