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

Re: st: macval() and passing text as is

From   "Ben Jann" <>
Subject   Re: st: macval() and passing text as is
Date   Sun, 1 Jun 2008 22:35:32 +0200

On Sun, Jun 1, 2008 at 8:58 PM, Salah Mahmud <> wrote:
> If I understood you correctly, there is nothing that could be done
> from within an ado module to overcome the problem. So it would be up
> to the user of the ado to pass any $-containing arguments within a
> macval() call.

... or use the "\" macro exapansion escape character. Example:

 . myprog, option(blah\$blah)

would preserve the $ (provided that macval() is used throughout in -myprog-).

*   For searches and help try:

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