-1

Can anyone tell me how to break line in rexx language. E.g: say "ala has a cat"0D0A"Cat has a ala"

in result I would like have: ala has a cat Cat has a ala

I want to post data to a pushgateway server and the syntax requires enter at the end of the line

bartezzzz
  • 1
  • 1

2 Answers2

2

Hex 0D0A is a carriage return new line so if you add that to the end of your string it will look like an "enter". If you don't need the new line just remove the 0A from the CRLF variable.

CRLF = "0D0A"x
say "ala has a cat Cat has a ala" CRLF

If you need each line separately use

CRLF = "0D0A"x
say "ala has a cat" CRLF "Cat has a ala" CRLF
Dave
  • 5,108
  • 16
  • 30
  • 40
-2

In z/os REXX you can a = "good" , /* skip to next line */ "morning"

Gad Barth
  • 11
  • 1