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 > > > > > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel >
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel