I don't see where Gil said that. The code you posted contains an expression 
containing two string literals, each on a single line.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of Bob 
Bridges [[email protected]]
Sent: Friday, June 25, 2021 12:08 PM
To: [email protected]
Subject: Re: Coding for the future

Wait, now I'm confused.  (Well, more confused.)  "A string literal split
across multiple lines of the source code" -- that's what Gil said he
~didn't~ mean:

  longstr='blah blah blah blah blah blah blah blah',
     'blah blah blah blah blah blah blah blah blah'

---
Bob Bridges, [email protected], cell 336 382-7313

/* We imply, and often believe, that habitual vices are exceptional single
acts, and make the opposite mistake about our virtues - like the bad tennis
player who calls his normal form his "bad days" and mistakes his rare
successes for his normal.  -C S Lewis, _The Problem of Pain_ */

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Seymour J Metz
Sent: Friday, June 25, 2021 00:08

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.

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of
Bob Bridges [[email protected]]
Sent: Thursday, June 24, 2021 7:43 PM

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?

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

Reply via email to