| 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 |
|
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/
|