On Mon, 2 Jan 2023, at 19:38, J Leslie Turriff wrote: > On 2023-01-02 10:32:07 Glenn Knickerbocker wrote: >> I don't know how I've never gotten around to making this wish: >> Sure would be nice to have a method that returned both the >> integer quotient and the remainder without having to do the >> division twice...
> Something like I've attached? > > Leslie There's no obvious saving in CPU time or anything else in doing that; all you have done is hidden the two divisions away. It would be surely be better if the dual division (if it HAS to be done) was done within one method, or function (for Classic support), in the interpreter itself. -- Jeremy Nicoll - my opinions are my own. _______________________________________________ Oorexx-users mailing list Oorexx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-users