Just to note line 27[(if
cond~Traceback[lineidx]~pos('runroutine~callwith(runargs)'] \= 0 then
leave") isn't needed. I got the block of code containing it from elsewhere
and forgot to take it out.-----Original Message----- From: [email protected] <[email protected]> Sent: 26 September 2025 00:00 To: 'Open Object Rexx Developer Mailing List' <[email protected]> Cc: 'WalterPachl' <[email protected]> Subject: RE: [Oorexx-devel] Options all syntax... Hi Walter, I don't think you need a new Rexx.exe since ooRexx programs themselves have the ability to load, manipulate and run other source code. If I've understood correctly your requirement can be met using this mechanism since I think all you are looking for is ::OPTIONS ALL SYNTAX to be assumed (or otherwise added, read on....) and this can be done with an ooRexx wrapper program Attached is an example which will treat the first arg word as a program name (the .rex or other extension is required in this basic version) and the remainder as an argument string. It will load the source of the program and add '::OPTIONS ALL SYNTAX' before translating and running it, with its own syntax handler to catch any errors thrown when translating or running the program. It does have some limitations - it won't assume any of the known ooRexx file extensions, parse the name/path of a program containing spaces and surrounded by double quotes, or search the path (and I'm sure there are many others I've not thought of) but it ought to be possible to add these features without too much trouble Example Usage: RunAllSyntax myprog.rex arg1 arg2 Hope this helps! Best Regards, Dom -----Original Message----- From: WalterPachl via Oorexx-devel <[email protected]> Sent: 25 September 2025 20:01 To: Open Object Rexx Developer Mailing List <[email protected]> Cc: WalterPachl <[email protected]> Subject: [Oorexx-devel] Options all syntax... Could I get a rexx.exe that behaves as if I had added options all syntax to my program? This would satisfy my desire to have Signal On Novalue as default! Thanx Walter _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
