User Activity

  • Posted a comment on discussion General Discussion on ooRexx (Open Object Rexx)

    Whoops Typo. myBag~putAll~(myArray) should read myBag~putAll(myArray) Jon On Sun, 21 Dec 2025 at 13:03, Jon Wolfers sahananda@users.sourceforge.net wrote: Hi P.O., Just in case somebody misunderstands, the boolean operators can be used with extant collections. The syntax would be myExtantBag = myExtantBag~union(myArray) and the resultant bag would contain all that was in myExtantBag previously along with all the items in myArray PutAll probably reads more straightforwardly though, and for an array,...

  • Posted a comment on discussion General Discussion on ooRexx (Open Object Rexx)

    Hi P.O., Just in case somebody misunderstands, the boolean operators can be used with extant collections. The syntax would be myExtantBag = myExtantBag~union(myArray) and the resultant bag would contain all that was in myExtantBag previously along with all the items in myArray PutAll probably reads more straightforwardly though, and for an array, you do not need to invoke the targets allItems method so it can be stated more succinctly as myBag~putAll~(myArray) The two techniques are not exactly the...

  • Posted a comment on discussion General Discussion on ooRexx (Open Object Rexx)

    Hi P.O. you can do b = .bag~new~union(myArray) to place the members of myArray in a bag without iteration. hope that helps, Jon On Sat, 20 Dec 2025 at 22:06, Per Olov Jonsson perolovjonsson@users.sourceforge.net wrote: Dear ooRexx users, How do I add all the items from an array to a bag? I know that I can do the opposite with myArray = myBag~makeArray But I need to do the reverse, i,e, myBag = myArray~something It seems it should be possible without iterating over the array? Greatful for any hints...

  • Posted a comment on discussion Help on ooRexx (Open Object Rexx)

    I'm not sure if I understand what you are asking, but is newArray = array~copy what you are looking for? On Fri, 5 Dec 2025 at 17:56, Enrico Sorichetti atncsj6h@users.sourceforge.net wrote: I just found out that the an assignment statement for array is not a real asignment , it just an alias definition for the original array I found that the statement b = a~section(1) creates a real copy but I find the solution pretty unelegant and misleading it works in my case because the arrays are just vectors...

  • Posted a comment on discussion Help on ooRexx (Open Object Rexx)

    I think the DO OVER is a wonderful piece of syntactic sugar, but as fr as I'm aware there is no way to do what you want with it as it currently stands. I would code do index over DIM~allIndexes~sortwith(.descendingcomparator~new) item = DIM[index] end / DO / But it is nowhere near as readable and requires a clause inside the loop. I do see that Rick just put in a feature request for this, so perhaps future versions... https://sourceforge.net/p/oorexx/feature-requests/865/ On Sun, 30 Nov 2025 at 20:52,...

  • Posted a comment on ticket #325 on ooRexx (Open Object Rexx)

    Patch doc_bug_325.7.1 applied.

  • Committed [r13046] on Code SVN

    325_7.1 patch provided by Josep Maria Improving documentation of namespaces

  • Posted a comment on ticket #350 on ooRexx (Open Object Rexx)

    I have checked the new patch for Language and it is OK. Well done Josep Maria.

View All

Personal Data

Username:
sahananda
Joined:
2002-12-11 12:37:50
Location:
London / Britain (UK) / GMT
Gender:
Male

Projects

This is a list of open source software projects that Jon Wolfers is associated with:

Personal Tools