|
Richard - Not as compact as the other suggestion but perhaps conceptually
simpler:
data _null_;
line=input(put('Line 1',$hex.)||'0A'||put('Line 2',$hex.),$hex32767.);
file 'test.txt';
put line;
run;
or maybe not. :-)
Paul Choate
DDS Data Extraction
(916) 654-2160
-----Original Message-----
From: Richard A. DeVenezia [mailto:radevenz@IX.NETCOM.COM]
Sent: Wednesday, February 04, 2004 6:15 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: String literal with embedded hex ?
Is there a single character expression that does the same as
text="Line 1" || "0A"X || "Line 2";
This does not work
text="Line 1""0A"X"Line2";
--
Richard A. DeVenezia
|