Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: assigning the value of a function to a amcro


From   James Bernard <[email protected]>
To   [email protected]
Subject   st: assigning the value of a function to a amcro
Date   Tue, 26 Feb 2013 15:19:17 +0800

Dear stat-listers,

I am trying to use the max()function and assign the outcome of the
this to a a macro. But it seems impossible, no matter how I write it.
I recall that, in general, macros can receive value of a function, but
it just doesn't work in this case.

Any idea?

Thanks,
James
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index