Date: Thu, 21 Sep 2000 18:05:07 -0600
Reply-To: Jack Hamilton <JackHamilton@FIRSTHEALTH.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jack Hamilton <JackHamilton@FIRSTHEALTH.COM>
Subject: Re: Another %PUT Notes feature in V8
Content-Type: text/plain; charset=us-ascii
If the behavior doesn't go away, and becomes documented, I'll consider
it a feature. It's a way to (a) force a note even if the silly user has
set NONOTES, and (b)it provides a way to force a line break in a note
without the NOTE: prefix in the log.
But these two capabilities should probably be separated. And the
behavior should definitely be documented.
I notice that the behavior is case-sensitive; "NOTE: " causes
color-coding, but "note: " does not.
--
JackHamilton@FirstHealth.com
Development Manager, Technical Group
METRICS Department, First Health
West Sacramento, California USA
>>> "Lund, Pete" <Peter.Lund@CFC.WA.GOV> 09/21/2000 4:19 PM >>>
One last observation about %PUT with NONOTES:
Check out the %PUT #3 in the macro below. As I posted earlier, line #2 does
not show up at all (treated like a SAS note), but #3 is a strange one! It
seems as though it's only a hyphen (-) immediately following NOTE that
causes this behavior.
%macro notes;
options nonotes;
%put ;
%put HERE COME THE NOTES, there are 6 (1);
%put NOTE: This note does not display at all (2);
%put NOTE- This one shows up color coded, but where did "NOTE-" go? (3);
%put NOTE~ This one is here, but not color coded (4);
%put NOTE - This is here, not color coded either (5);
%put HERE ENDS THE NOTES, but where is number 2? (6);
%put ;
%mend;
%notes
----------------------------------------------------------------------
Pete Lund
WA State Caseload Forecast Council
515 15th Ave SE
Olympia, WA 98504-0962
(360) 902-0086 voice
(360) 902-0084 fax
(360) 971-0962 pager
peter.lund@cfc.wa.gov
----------------------------------------------------------------------