Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to suppress 'CRLF' in a SAY instruction ?

30 views
Skip to first unread message

Jean-Louis Tourné

unread,
Jan 24, 2023, 3:36:13 AM1/24/23
to
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

Rick McGuire

unread,
Jan 24, 2023, 8:09:58 AM1/24/23
to
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.

Jean-Louis Tourné

unread,
Jan 24, 2023, 10:01:32 AM1/24/23
to
Thank you, exactly what I was looking for.
0 new messages