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 (August 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 21 Aug 2008 12:39:45 +0000
Reply-To:     iw1junk@COMCAST.NET
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Ian Whitlock <iw1junk@COMCAST.NET>
Subject:      Re: carriage return in a %put statement
Comments: cc: Gamotte <gamotte@HOTMAIL.COM>

Gamotte,

Asking how to do this with %PUT is somewhat like asking how to split hairs with an ax. However,

1 options nosource ; %put hello; %put world; hello world

Ian Whitlock ==============

Date: Thu, 21 Aug 2008 01:05:08 -0700 Reply-To: Gamotte <gamotte@HOTMAIL.COM> Sender: "SAS(r) Discussion" From: Gamotte <gamotte@HOTMAIL.COM> Organization: http://groups.google.com Subject: carriage return in a %put statement Comments: To: sas-l Content-Type: text/plain; charset=ISO-8859-1

Hi,

I would like to know how to introduce a carriage return in a text displayed by %put. For instance, %put hello \n world will print the text "hello \n world", but the commands %put hello %put world will result in something as

320 %put hello hello 321 %put world world

in the log, but i would like to get rid of in-between lines that echo the commands.

Thanks in advance.


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