Nowhere in that thread do I see *Gil* saying what Gil means.

--
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 4:58 PM
To: [email protected]
Subject: Re: Coding for the future

I must be going crazy.  Let's review:

Gil> I wish Rexx supported multi-line strings.

Bri> I know you don't mean this:
       longstr='blah blah blah blah blah blah blah blah',
               'blah blah blah blah blah blah blah blah blah'

Gil> <Agrees he doesn't mean that>

Met> ...by multi-line string I mean a string literal split across multiple
lines of the source code...

So you mean what Gil says he did not mean...right?  Or what else does Gil
mean by "multi-line string"?

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

/* Cooking tip: If you cook your kale with a little coconut oil, it makes it
easier to scrape it into the garbage.  -YS @NYinLS2121 */

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

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

________________________________________
From: Bob Bridges [[email protected]]
Sent: Friday, June 25, 2021 12:08 PM

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'

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