I don't know what he meant; that's what I was asking in the first place.
(He still hasn't answered. Maybe he's busy being entertained watching us.)
And I am further confused by part of your answer: "...by multi-line string
I mean a string literal split across multiple lines of the source code...".
How is that different from
longstr='blah blah blah blah blah blah blah blah',
'blah blah blah blah blah blah blah blah'
...?
---
Bob Bridges, [email protected], cell 336 382-7313
/* Computers in the future may weigh no more than 1.5 tons. -Popular
Mechanics, forecasting in 1949 the relentless march of science */
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Seymour J Metz
Sent: Friday, June 25, 2021 19:32
I can see him agreeing that an expression involving two distinct strings is
not what he meant; that tells me nothing about what he did mean.
Specifically, it does not tell me whether he meant:
1. A string literal running over two source lines
whose value does not include an embedded new line.
2. A string literal whose value includes an embedded new line
With either meaning, " I wish Rexx supported multi-line strings." remains a
reasnoable desire, in the sense that REXX does not currently support it.
________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of
Bob Bridges [[email protected]]
Sent: Friday, June 25, 2021 7:00 PM
Correct -- but you can see him agreeing he does not mean what I said he
could not mean. He and I agreed that by "multi-line string" he did not mean
longstr='blah blah blah blah blah blah blah blah',
'blah blah blah blah blah blah blah blah blah'
You, though, say that by "multi-line string", you mean "a string literal
split across multiple lines of the source code" -- which as far as I can see
means exactly what Gil did not mean.
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
Seymour J Metz
Sent: Friday, June 25, 2021 17:27
Nowhere in that thread do I see *Gil* saying what Gil means.
________________________________________
From: Bob Bridges <[email protected]>
Sent: Friday, June 25, 2021 4:58 PM
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
Met> 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"?
-----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
----------------------------------------------------------------------
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
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN