Date: Tue, 21 Dec 2010 09:25:44 -0500
Reply-To: Chang Chung <chang_y_chung@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Chang Chung <chang_y_chung@HOTMAIL.COM>
Subject: Re: %nrquote issue with arrays
Content-Type: text/plain; charset=ISO-8859-1
On Tue, 21 Dec 2010 01:35:06 -0500, S=?ISO-8859-1?Q?=C3=B8ren?= Lassen
<s.lassen@POST.TELE.DK> wrote:
...
>Never saw that one before - but then I normally try to limit macro
>quoting to the absolutely necessary. This is a bug, isn't it? or is
>this behaviour expected, useful and documented?
Hi, Søren:
The closest thing to the documentation about this is the manual page on
%unquote()'ing -- see the last paragraph about the case of %bquote()'d
quote characters. http://tinyurl.com/2brw9h5 or
http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/
viewer.htm#tw3514-unquote.htm
I would rather not think of this as an implementation bug. It looks rather
be an unintended consequence of how macro works. If there was someone to
blame, then it probably is the original architect of SAS's macro system,
maybe...
Cheers,
Chang
|