Java Program Preconfiguring Its Command Handlers to Run Rexx Programs
Hint: if you wish to look at the ooRexx code with syntax highlighting, then you can
use the free and open-source editor "[g]vim"
, which is available for practically
all platforms and can be downloaded from its homepage at
http://www.vim.org/.
- . <directory> (List of this directory)
- Display all of this directory's files and directories.
- .. <directory> (List of parent directory)
- Display all of the parent directory's files and directories.
- rexxonly <directory> (subdirectory)
- Directory that contains a pure ooRexx solution by replacing "RunRexxProgram.java"
by "RunRexxProgram.rex".
- RunRexxProgram.java
- A Java program that configures a Rexx interpreter to use its two
command handlers named
ONE
and DEUX
for
the Rexx program it runs.
The companion Rexx program sending commands to the command handlers is:
testPreconfiguredCommandHandlers.rex.
The two preconfigured command handlers understand the following commands:
To run enter the following command on the command line:
java RunRexxProgram testPreconfiguredCommandHandlers.rex
Rony G. Flatscher, 2022-08-25, Wien/Vienna, Austria, Europe