LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 2000, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 14 Feb 2000 15:36:10 -0500
Reply-To:     "Droogendyk, Harry" <Harry.Droogendyk@CIT.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Droogendyk, Harry" <Harry.Droogendyk@CIT.COM>
Subject:      Re: How to quote HTML code &nbsp in macro parameter
Content-Type: text/plain; charset="iso-8859-1"

I had the same problem when pushing HTML code through the RESOLVE function to resolve buried macro variables in the HTML. I added the following line to the top of my module that's %INCLUDEd in each program:

%let nbsp=%nrstr(&nbsp);

Seems a little strange to do this, but I don't see that it'll add any overhead since SAS is going out to look for the macro variable &nbsp anyway. This way it'll find something and your warnings will disappear.

I wonder if you could stick the macro assignment statement in the autoexec file used by SAS/Intrnet. You certainly could insert it into the RESET.SAS module.

-----Original Message----- From: John Iwaniszek [mailto:jiwaniszek@NC.RR.COM] Sent: Monday, February 14, 2000 3:14 PM To: SAS-L@LISTSERV.UGA.EDU Subject: How to quote HTML code &nbsp in macro parameter

(I have been having some proble with my usenet connection today so apipolilogies for any redundant transmissions)

Does anyone know how to quote the HTML code &nbsp (non-breaking space) so that it will not generate the following warning:

WARNING: Apparent symbolic reference NBSP not resolved.

We need to be able to send it into a macro via a parameter. Currently we use %nrbquote (who say SAS doesn't hava a sense of humor), which forestalls the more obnoxious consequences of the ampersand, but we would like to get rid of the warning as well.

-- John Iwaniszek

Statistical Programming Manager Stat-Tech Services, LLC

919 571 6444

Developers of the Macro Reporting System - Delivering Statistical reports in ASCII, RTF, and HTML

http://www.StatTechServices.com


Back to: Top of message | Previous page | Main SAS-L page