Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: Using macval with r-objects

From   Niklas Kaunitz <>
Subject   st: Using macval with r-objects
Date   Thu, 13 Dec 2012 12:30:51 +0100

Hi everybody,
I have a question about how to apply macval() on saved results in r(...) locals.

I have a program that returns r(string) that can contains characters like ` and $. How can I copy this to another macro without internal macro substitution? The obvious guess `macval(r(string))' does not work...

Niklas Kaunitz

*   For searches and help try:

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