• How to suppress 'CRLF' in a SAY instruction ?

    From =?UTF-8?B?SmVhbi1Mb3VpcyBUb3VybsOp?@21:1/5 to All on Tue Jan 24 00:35:32 2023
    Hello,

    Is it possible in a rexx SAY instruction to suppress the CRLF character to avoid that the next SAY appears on a new line ?
    I would like that the result of the second SAY instruction follows, on the same line, the result of the first SAY instruction.
    Exemple :
    SAY 'first line'
    SAY 'second line'

    Would appear as :
    first line second line

    and not as :
    first line
    second line

    Thank you

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rick McGuire@21:1/5 to All on Tue Jan 24 05:09:56 2023
    On Tuesday, January 24, 2023 at 3:36:13 AM UTC-5, Jean-Louis Tourné wrote:
    Hello,

    Is it possible in a rexx SAY instruction to suppress the CRLF character to avoid that the next SAY appears on a new line ?
    I would like that the result of the second SAY instruction follows, on the same line, the result of the first SAY instruction.
    Exemple :
    SAY 'first line'
    SAY 'second line'
    use

    call charout ,"first line '
    say 'second line'

    Note that I had to add a space to the literal for first line to create the separation.


    Would appear as :
    first line second line

    and not as :
    first line
    second line

    Thank you

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?B?SmVhbi1Mb3VpcyBUb3VybsOp?@21:1/5 to All on Tue Jan 24 07:01:30 2023
    Le mardi 24 janvier 2023 à 14:09:58 UTC+1, Rick McGuire a écrit :
    On Tuesday, January 24, 2023 at 3:36:13 AM UTC-5, Jean-Louis Tourné wrote:
    Hello,

    Is it possible in a rexx SAY instruction to suppress the CRLF character to avoid that the next SAY appears on a new line ?
    I would like that the result of the second SAY instruction follows, on the same line, the result of the first SAY instruction.
    Exemple :
    SAY 'first line'
    SAY 'second line'
    use

    call charout ,"first line '
    say 'second line'

    Note that I had to add a space to the literal for first line to create the separation.

    Would appear as :
    first line second line

    and not as :
    first line
    second line

    Thank you





    Thank you, exactly what I was looking for.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)