No, by multi-line string I mean a string literal split across multiple lines of the source code, whether or not it contains CR, LF or NEL. In, e.g., HLASM you can split a string across multiple lines, although the syntax is ugly.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Bob Bridges [[email protected]] Sent: Thursday, June 24, 2021 7:43 PM To: [email protected] Subject: Re: Coding for the future Ah, I see; by "multi-line string" you mean, I guess, a string with something like an ASCII CRLF embedded in it. But isn't that a limitation not of REXX but of EBCDIC? Or have I still misunderstood you? --- Bob Bridges, [email protected], cell 336 382-7313 /* Unable to locate coffee. Operator halted. */ -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Paul Gilmartin Sent: Thursday, June 24, 2021 16:50 No, that's a single-linee string. Verify that with: SAY Longstr --- On Tue, 22 Jun 2021 18:39:19 -0400, Bob Bridges <[email protected]> wrote: >Gil, I don't follow what you mean about multi-line strings. I know you can't >mean this, which REXX handles just fine: > > Longstr='blah blah blah blah blah blah blah blah', > 'blah blah blah blah blah blah blah blah blah' ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
