On Sat, 15 Jun 2024, at 03:00, Bob Bridges wrote: > Now I find myself > using double-quotes reflexively in REXX, too - very much to my dismay, > because I'm with you, why use two fingers where one will do?
Many of the literal strings in my Rexx programs are parts of error messages etc and lots of those have single quotes in them, mostly as apostrophes ... so I enclose these texts in double quotes. I tend therefore to use double quotes nearly all the time. When I do need to build strings with both in them I tend to do it via two vars dq = '"' ; sq = "'" and end up with lines like msg = "You've misdefined" sq || "xyz" || sq "as" dq || xyz || dq || "." -- Jeremy Nicoll - my opinions are my own. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
