I've fallen into ooRexx for some office improvement stuff and I need to move some files around in windows, and in my research I found the Reginald interpreter which is exactly what I need. Is it possible to call to it from, or load that functionality into an ooRexx program?
Writing code like
is not the greatest way to do it. I always use the ADDRESS command, like this:
to prevent accidentally sending something to the wrong environment. When you use Method_1 there is an implicit assumption that an ADDRESS was previously executed (or defaulted). In Method_2 its explicit. The difference is that if you later have to change the rexx code using multiple environments you might accidentally send a command to the wrong environment. Method_2 is safer.