Requesting help to test Loop Over support for Java Collections

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Requesting help to test Loop Over support for Java Collections

Kermit Kiser
Would anyone be able to help test support for Java Collections in the
NetRexx Loop Over statement? I have submitted a patch for this feature,
but could use some testing help. I don't know if it works with tracing
or in all environments or with all Iterations, etc. The updated
Translator (NetRexxC.jar) can be downloaded from my NetRexx page:

http://kermitkiser.com/NetRexx


Hopefully, the project will get organized one of these days and set up
nightly alpha builds or something for testing stuff like this. Anyway,
here is the sample code I used to test the patch with (It contains both
a Hashtable which was previously supported and a Vector which was not.):

--------------------------------------------------------

say "Hashtable and Collections test"

bat = Hashtable(10)

bat.put(String "a",String "1")
bat.put(String "b",String "2")

loop e over bat
     say e
     end

vect = Vector()

vect.add(Object "q")
vect.add(Object "r")
say "something"

loop v over vect
     say v
     end


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Requesting help to test Loop Over support for Java Collections

ThSITC
Yes, Kermit, anxious to help !
Let me know what I shall do, please, to download you patches.

I'll have lkot's of testcases for this your improvements very soon.
(say next week)

Send me details to my private mail, when you like....

Thomas.
=========================================================
Am 23.06.2011 03:55, schrieb Kermit Kiser:

> Would anyone be able to help test support for Java Collections in the
> NetRexx Loop Over statement? I have submitted a patch for this
> feature, but could use some testing help. I don't know if it works
> with tracing or in all environments or with all Iterations, etc. The
> updated Translator (NetRexxC.jar) can be downloaded from my NetRexx page:
>
> http://kermitkiser.com/NetRexx
>
>
> Hopefully, the project will get organized one of these days and set up
> nightly alpha builds or something for testing stuff like this. Anyway,
> here is the sample code I used to test the patch with (It contains
> both a Hashtable which was previously supported and a Vector which was
> not.):
>
> --------------------------------------------------------
>
> say "Hashtable and Collections test"
>
> bat = Hashtable(10)
>
> bat.put(String "a",String "1")
> bat.put(String "b",String "2")
>
> loop e over bat
>     say e
>     end
>
> vect = Vector()
>
> vect.add(Object "q")
> vect.add(Object "r")
> say "something"
>
> loop v over vect
>     say v
>     end
>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>
>


--
Thomas Schneider (www.thsitc.com)
_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: Requesting help to test Loop Over support for Java Collections

Kermit Kiser
Thomas --

Here is a direct link to the updated Translator file for you:

http://kermitkiser.com/NetRexx/NetRexxC.jar

Download the jar and replace your current copy to test the changes.

Thanks,
-- Kermit


On 6/22/2011 7:38 PM, Thomas Schneider wrote:

> Yes, Kermit, anxious to help !
> Let me know what I shall do, please, to download you patches.
>
> I'll have lkot's of testcases for this your improvements very soon.
> (say next week)
>
> Send me details to my private mail, when you like....
>
> Thomas.
> =========================================================
> Am 23.06.2011 03:55, schrieb Kermit Kiser:
>> Would anyone be able to help test support for Java Collections in the
>> NetRexx Loop Over statement? I have submitted a patch for this
>> feature, but could use some testing help. I don't know if it works
>> with tracing or in all environments or with all Iterations, etc. The
>> updated Translator (NetRexxC.jar) can be downloaded from my NetRexx
>> page:
>>
>> http://kermitkiser.com/NetRexx
>>
>>
>> Hopefully, the project will get organized one of these days and set
>> up nightly alpha builds or something for testing stuff like this.
>> Anyway, here is the sample code I used to test the patch with (It
>> contains both a Hashtable which was previously supported and a Vector
>> which was not.):
>>
>> --------------------------------------------------------
>>
>> say "Hashtable and Collections test"
>>
>> bat = Hashtable(10)
>>
>> bat.put(String "a",String "1")
>> bat.put(String "b",String "2")
>>
>> loop e over bat
>>     say e
>>     end
>>
>> vect = Vector()
>>
>> vect.add(Object "q")
>> vect.add(Object "r")
>> say "something"
>>
>> loop v over vect
>>     say v
>>     end
>>
>>
>> _______________________________________________
>> Ibm-netrexx mailing list
>> [hidden email]
>> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>>
>>
>
>
_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Requesting help to test Loop Over support for Java Collections

ThSITC
Hello Kermit,
     many thanks for both providing collections support in Loop over
and the link at your home-page. Just downloaded it.

     I will start testing next week, at the earliest.

As a matter of fact, I'm just replacing a lot of ancient IBM Rexx
compiler classic Rexx Stem's by the appropriate Java collections in my soft.

Thus, your LOOP enhancement comes just in time to be able to test it ... :-)

Will report the results...

Thomas.
=================================================
Am 23.06.2011 05:02, schrieb Kermit Kiser:

> Thomas --
>
> Here is a direct link to the updated Translator file for you:
>
> http://kermitkiser.com/NetRexx/NetRexxC.jar
>
> Download the jar and replace your current copy to test the changes.
>
> Thanks,
> -- Kermit
>
>
> On 6/22/2011 7:38 PM, Thomas Schneider wrote:
>> Yes, Kermit, anxious to help !
>> Let me know what I shall do, please, to download you patches.
>>
>> I'll have lkot's of testcases for this your improvements very soon.
>> (say next week)
>>
>> Send me details to my private mail, when you like....
>>
>> Thomas.
>> =========================================================
>> Am 23.06.2011 03:55, schrieb Kermit Kiser:
>>> Would anyone be able to help test support for Java Collections in
>>> the NetRexx Loop Over statement? I have submitted a patch for this
>>> feature, but could use some testing help. I don't know if it works
>>> with tracing or in all environments or with all Iterations, etc. The
>>> updated Translator (NetRexxC.jar) can be downloaded from my NetRexx
>>> page:
>>>
>>> http://kermitkiser.com/NetRexx
>>>
>>>
>>> Hopefully, the project will get organized one of these days and set
>>> up nightly alpha builds or something for testing stuff like this.
>>> Anyway, here is the sample code I used to test the patch with (It
>>> contains both a Hashtable which was previously supported and a
>>> Vector which was not.):
>>>
>>> --------------------------------------------------------
>>>
>>> say "Hashtable and Collections test"
>>>
>>> bat = Hashtable(10)
>>>
>>> bat.put(String "a",String "1")
>>> bat.put(String "b",String "2")
>>>
>>> loop e over bat
>>>     say e
>>>     end
>>>
>>> vect = Vector()
>>>
>>> vect.add(Object "q")
>>> vect.add(Object "r")
>>> say "something"
>>>
>>> loop v over vect
>>>     say v
>>>     end
>>>
>>>
>>> _______________________________________________
>>> Ibm-netrexx mailing list
>>> [hidden email]
>>> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>>>
>>>
>>
>>
>


--
Thomas Schneider (www.thsitc.com)
_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com