On Sat, 6 Jan 2024 14:25:09 +1100, Wayne Bickerdike wrote:

>Quoted strings always gave me grief. I started to use Q='7D'X and
>concatenate my strings this way:
>
>Str = Q||DsNAme||Q.
>LISTDSI(Str)
>
I find that less transparent and surely more verbose than:
    LISTDSI( "'"DsNAme"'" ) or even:
    LISTDSI( ''''DsNAme'''' ) 

Programmers who eschew concatenation by abuttal are
flaunting their unfamiliarity with the language.

(But how does this play against the wise principle that
self-defining terms should be assigned to symbols
rather than used repeatedly:
    TWO = '2'
    SAY TWO + TWO
?)

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to