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 (January 2006, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sat, 21 Jan 2006 07:51:53 -0500
Reply-To:   "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Subject:   Re: symbol for linebreaks
Comments:   To: sas-l@uga.edu

Stefan Pohl wrote: > Hi, > > is it possible in SAS to enforce a linebreak in SAS code with _ > without having to break the lines manually ?

If you are talking about a PUT statement to a text file, and manual (apologies to the femanual) meaning

PUT 'line 1'; PUT 'line 2';

Then you have these alternatives

PUT 'line 1' / 'line 2'; or PUT 'line 1' '0a'x 'line 2';

/ is a newline directive of the PUT statement. '0a'x is the ASCII code for newline. Won't newline on EBCDIC systems. Some OS have different newline sequences such as '0D0A'x (windows/dos) or '0D'x (mac)

-- Richard A. DeVenezia http://www.devenezia.com/


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