On Tue, 22 Jun 2021 18:39:19 -0400, Bob Bridges <[email protected]> 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'
>
No, that's a single-linee string.  Verify that with:
    SAY Longstr

>And your second wish is surely not significantly different from:
>
>  list='ssn ssx stm wcn wcx wln wlx wld'
>  do while list<>''
>    parse var list val list
>    /* etc */
>
>...which I do frequently.
>
Style.  The loop setup, iteration, and termination should be part of the DO,
even s I woulfn't code:
    I = 1
    DO WHILE I <= 10
        whatever
        I = I + 1
        END

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to