Hi Jeff,
On 18.09.2024 18:02, Jeff Hennick wrote:
Thank you for your considered reply.
The "Need extended ooRexx" was while following
Jean Louis Faucher'sasciinema demos, at the top the demos forooRexxShell:
<https://jlfaucher.github.io/executor.master/demos/index.html>.
You did note
Please note that these demos may use experimental extensions of Jean Louis
executor (a special version based on ooRexx 4.2) which are not present
in the regular versions of ooRexx.
and I just bypassed those examples.
Ah, I see.
But the *run nrc -exec which_rexx.rex* was from your email
Yes. Please note the command, it is not from within the oorexxshell but from the bare
terminal/command line window.
---> use the generated 'setenv.cmd/setenv' script
If you issue the above script in a shell/terminal/command line window then the changes to the
environment stick in that particular shell/terminal/command which alleviates one to prepend the
commands with "run" (respectively "./run" on Unix or powershell).
All the following commands then work within that shell/terminal /command without using
"run" ("./run").
Please note that these are not supplied via the oorexxshell but directly into the operating system's
shell/terminal/command line window.
Windows Unix Comment
------- ---- +------
setenv.cmd source ./setenv | sets the environment in
the Terminal to net-oo-rexx
the following commands will work on Windows as well as on Unix:
oorexxshell | runs oorexxshell
rexx testoorexx.rex | use ooRexx to run
testoorexx.rex
rexx which_rexx.rex | use ooRexx to run
which_rexx.rex
rexxdebugger packages/rexxdebugger/tutorial.rex | use ooRexx to run the
rexxdebugger with its tutorial.rex
nrc -exec which_rexx.rex | use NetRexx to run
which_rexx.rex
nrc which_rexx.rex | use NetRexx to compile
which_rexx.rex to which_rexx.class
java which_rexx | use Java to run which_rexx.class
(note: no ".class" extension!)
The *run rexx which_rexx.rex* works fine. But *run nrc -exec which_rexx.rex*
fails.
What does the command on a bare (operating system) terminal/command line (not from oorexxshell which
would need that command to be placed under quotes in order to be passed on to the operating system
from ooRexx)
nrc -exec which_rexx.rex
yield?
---rony
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel