On 23.10.2025 12:00, Rony Flatscher via groups.io wrote:
Suggesting to implement RFE 860: <https://sourceforge.net/p/oorexx/feature-requests/860/>. Here
the text:
Jean Louis Faucher (JLF) has posted a very interesting idea on the RexxLA
member's list about
propagating numeric settings to invoked routines and methods using a new
"::options" directive
option.
He pointed at the motivation and how one can implement this (coming from
his experimental
version named "executor", based on ooRexx 4.2):
*
Motivation and explanations:
https://github.com/jlfaucher/executor/blob/master/sandbox/jlf/_changes.md#6numeric-digits-propagate
*
Implemenation diff:
https://github.com/jlfaucher/executor/commit/e81877a2e1bb81420007087ed0584f7ed57034a6
JLF's implementation uses "::options digits propagate 30", but implies to
propagate all
numeric settings to the called routine and method. Josep Maria Blasco (JMB)
suggested to name
this "::options numeric settings propagate", also "::options numeric
propagate" got suggested.
What do you think? Any comments?
Thank you all for your comments!
How about then an option named "numeric" with the values "inherit" or "noinherit" ("::options
numeric inherit" (and "noinherit"))?
This allows the programmer who writes the routines and methods in a program/package to state that
these are able to take on the numeric settings of the caller. The default is "numeric noinherit",
such tat no caller can force its numeric settings on the callee (as is the case now).
Will come up with such an implementation later today such that it can be tested.
---rony
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel