Hello World in Rexx

Published on 13 October 2021 (Updated: 13 October 2021)

Hello World in Rexx

In this article, we are going to learn how to implement ‘Hello World’ in REXX (Restructured Extended Executor), which is an interpreted programming language developed by IBM (Mike Cowlishaw) for the ease of learning and reading.

How to Implement the Solution

To print ‘Hello World!’ in Rexx, we need to take note of two points:

So, let’s get to the point and see how to implement the solution:

/* Print 'Hello-World!' sample program in REXX */
SAY 'Hello World!'

And that’s it! It is a very simple one-liner program with a few specifications. The comments tell us what the program does and the intruction ‘say’ is used to print the program ‘Hello World!’.

‘SAY’ is a basic command to print output on the same lines as ‘PRINT’ from Python. It remains constant regardless of the version.

How to Run the Solution

In order to run this program, you can install REXX through online sources and run it. Alternatively, you can directly run it on online interpreters.

Further Reading