Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Syntax-Errors-Handling in REXX (ooREXX vs. Regina)

25 views
Skip to first unread message

MikRom

unread,
Dec 5, 2008, 3:00:32 PM12/5/08
to
Hi,
If I try to call a non existing procedure in ooREXX, then the syntax
error occurs and the program is aborting to run.
I can succesfully trap this with SIGNAL ON SYNTAX ...
But if I try the same code in Regina then the program is running
further without aborting and ignores my code for trapping the syntax
error.
Please see the details I posted here: http://www.tek-tips.com/viewthread.cfm?qid=1515608&page=1

What is the difference with handling errors by Regina and ooREXX? Are
they any default settings, which has Regina other than ooREXX?

markh

unread,
Dec 5, 2008, 5:34:57 PM12/5/08
to

Regina has an OPTION: EXT_COMMANDS_AS_FUNCS which by default attempts
to call an external procedure if it can't find the procedure inside
the Rexx program. To achieve the ooRexx behaviour add to the top of
your program:
OPTIONS NOEXT_COMMANDS_AS_FUNCS

Cheers, Mark

MikRom

unread,
Dec 6, 2008, 4:56:39 AM12/6/08
to

YES it works! Thank you very much Mark !

0 new messages