"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".

---rony




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

Reply via email to