
Object REXX & VX-REXX under OS/2
Quote:
> >I have some VX-REXX programs (PGP Tools, Jasmine FTP, Webwriter) that
> >break when using Object REXX with OS/2 (work fine with Classic REXX).
> >Does anybody have any knowledge about what fixes are required to
> >VX-REXX to enable it to work with Object REXX?
> If you have the source code then you need to find which lines are not
> compatible with ORexx and correct them. If you dont have the source
> then try to contact the authors.
Object Rexx *is* compatible to classic Rexx, but refuses to run erroneous Rexx
programs:
Object Rexx (and Regina for that matter) behave differently from classic Rexx in
one respect: before executing a Rexx program the interpreter checks for syntax
errors. If there is a syntax error, an error message is raised and the program is not
run. (This behaviour is intended for your own security: if there is a syntax error
(mostly a/n omitted/missing END) you could always hit it, even after years.)
Therefore, if you have the source, check for syntax errors and correct them
(with Object Rexx you could issue "rexxc pgm.cmd" which merely checks for
syntax errors without executing the Rexx program). If you don't then you'd need
to contact the authors of the software.
---rony