I tend to think of the insertion of blanks to be unfortunate. It is great if you are wanting to demonstrate the incredible simplicity of Rexx:
Say Hello World But I think if you want a blank between the two halves of the "continued" (in quotations) literal then just code it. Foo = "blah blah_" || , "blah blah" But different strokes for different concatenations. De gustibus ... If you want the code to run on different platforms you might just have to code for that. Would not be the first time for either of us. For most of us. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Seymour J Metz Sent: Sunday, June 27, 2021 10:55 AM To: [email protected] Subject: Re: Coding for the future Yes, but the original code inserted a blank between the two strings; It's the difference between continuing "'foo bar'" and continuing "'foo bar '". Linux on z and z/OS Unix System Services both run on an IBM mainframe but they don't use the same line end convention. What if I want the code to run on multiple platforms? That's an example of why magic numbers are bad. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Charles Mills [[email protected]] Sent: Sunday, June 27, 2021 1:45 PM To: [email protected] Subject: Re: Coding for the future Right, it makes it into (effectively) on long "continued" (if you will) literal. Effectively, not literally. I was assuming the IBM mainframe as this is the IBMMAIN mailing list. And my point is not the value x'0a' but rather the technique. Substitute whatever magic number is a linefeed on your platform. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
