Hi Josep Maria,

On 19.03.2025 17:30, Josep Maria Blasco wrote:
Some comments more

(cut)

        To indicate which condition should be propagated in this manner, one 
could perhaps allow
        for the subkeyword PROPAGATE in addition to SYNTAX and CONDITION, e.g., 
"::OPTIONS
        condition SYNTAX|CONDITION|PROPAGATE", where 'condition' would be any 
of the condition
        names that can be supplied to the RAISE keyword instruction plus 'ALL' 
to mean all
        conditions.

Another possibility would be to allow specifying the PROPAGATE keyword in the options-fragment of the RAISE instruction, as in

  RAISE USER myCondition ADDITIONAL (whatever) PROPAGATE

This would allow for more fine-grained control, as some RAISE instructions could be specified with PROPAGATE and some others, without.

this is a very interesting and good idea! It would allow to individually determine which individual (in this case USER) condition should be propagated. It also allows both features to be usable concurrently in any combination that the programmer sees to fit best.

Best regards

---rony
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to