On 2022-05-04 06:01:56 Rick McGuire wrote:
> On Wed, May 4, 2022 at 6:00 AM Rony G. Flatscher <rony.flatsc...@wu.ac.at>
>
> wrote:
> > "do...over" works by requesting an array causing the method "makearray"
> > to be invoked which is
> > available for all collections due to being defined in the .collection
> > class.
> >
> > ooRexx 5.0 introduces the ability with "do with ... over" to iterate a
> > supplier object. If the
> > object to iterate is not a supplier it gets requested from the
> > collection. However it seems that it
> > does not follow the ooRexx request protocol (method request in the root
> > class .object) which would
> > need a method "makesupplier" to be defined in the .collection class as
> > well. This would also allow
> > for implementing one owns classes that supply the method "makesupplier"
> > to become usable for "do
> > with ... over".
>
> All you need to do this yourself is to implement a supplier method on your
> class.
>
> Rick
>
> > ---rony
> >

        Once upon a time a major benefit of Rexx was "Programmer friendliness" 
as opposed
to "Interpreter friendliness"...

Leslie
--
Platform: Linux
Distribution: openSUSE Leap 15.3 x86_64
Open Object Rexx Version 5.0.0 r12286
Build date: Aug 12 2021
Addressing mode: 64


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

Reply via email to