Statalist


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

RE: st: saving local macros


From   philippe van kerm <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: saving local macros
Date   Wed, 7 Jan 2009 17:08:15 +0100

To follow this idea, I think you must use 'characteristics' ('notes' are in fact 'characteristics'). See -help char-.

You can then use the macro extended function 'char' to read the characteristics into local macros.

Philippe

> -----Message d'origine-----
> De : [email protected] [mailto:owner-
> [email protected]] De la part de Ashim Kapoor
> Envoyé : mercredi 7 janvier 2009 16:52
> À : [email protected]
> Objet : Re: st: saving local macros
>
> Hello Maarten,
>
> Thank you for your reply.
>
> I tried notes.
>
> I understand the part where I can add notes. How do I recover a note
> and put it in a local macro ?
>
> Suppose I had : -
> . notes
> _dta:
>   1.  Hell Heaven
>   2.  you
>   3.  yo
>
> . notes  list in 1
>
> _dta:
>   1.  Hell Heaven
>
>
> but how do I put this value of note number one in  a local macro ?
>
>
> Thank you,
> Ashim.
> On Wed, Jan 7, 2009 at 9:05 PM, Maarten buis <[email protected]>
> wrote:
> > --- Ashim Kapoor <[email protected]> wrote:
> >> Is there a way to save local macros ?
> >
> > You might be able to use -notes- for this purpose, see -help notes-.
> >
> > Hope this helps,
> > 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 N515
> >
> > +31 20 5986715
> >
> > http://home.fsw.vu.nl/m.buis/
> > -----------------------------------------
> >
> >
> >
> > *
> > *   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/

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