NetRexx code snippet

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

NetRexx code snippet

Robert L Hamilton
Could some one suggest a small NetRexx pgm to illustrate what it scruntches down to in JAVA?

Bob Hamilton
Richardson Texas USA

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

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx code snippet

alansam
I'm not sure what you're looking for but you could take a look at the examples on: http://rosettacode.org/wiki/Category:NetRexx

A.

On 14 December 2011 13:15, Robert Hamilton <[hidden email]> wrote:
Could some one suggest a small NetRexx pgm to illustrate what it scruntches down to in JAVA?

Bob Hamilton
Richardson Texas USA

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





--
Can't tweet, won't tweet!

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

Alan

--
Needs more cowbell.
Reply | Threaded
Open this post in threaded view
|

Re: NetRexx code snippet

Robert L Hamilton
This page shows:

This example is incomplete. java.util.InetAddress.getByName() returns only one address. Please add a way to query both IPv4 and IPv6 addresses. Please ensure that it meets all task requirements and remove this message.


BobH

On Wed, Dec 14, 2011 at 4:06 PM, Alan Sampson <[hidden email]> wrote:
I'm not sure what you're looking for but you could take a look at the examples on: http://rosettacode.org/wiki/Category:NetRexx

A.

On 14 December 2011 13:15, Robert Hamilton <[hidden email]> wrote:
Could some one suggest a small NetRexx pgm to illustrate what it scruntches down to in JAVA?

Bob Hamilton
Richardson Texas USA

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





--
Can't tweet, won't tweet!

_______________________________________________
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: NetRexx code snippet

alansam
Bob,

There are currently 100 NetRexx example pages on RosettaCode and as some of these pages contain more than one example it means that there are more than 100 example programs.  Of these, two are in need of attention and you choose to single out one of those two for comment.  

Again; I don't understand what you're looking for but there are at least 98 good examples of NetRexx code you could examine to satisfy your requirements.  Heck, if you've a mind to you could even take a stab at fixing the incomplete examples as requested in the message you post.  It's all public domain after all.

And as for NetRexx "scrunching down to Java"; it's really the other way around.  NetRexx usually generates many more lines of Java code during compilation and is typically easier to read and understand.

Alan.

On 14 December 2011 14:46, Robert Hamilton <[hidden email]> wrote:
This page shows:

This example is incomplete. java.util.InetAddress.getByName() returns only one address. Please add a way to query both IPv4 and IPv6 addresses. Please ensure that it meets all task requirements and remove this message.


BobH


On Wed, Dec 14, 2011 at 4:06 PM, Alan Sampson <[hidden email]> wrote:
I'm not sure what you're looking for but you could take a look at the examples on: http://rosettacode.org/wiki/Category:NetRexx

A.

On 14 December 2011 13:15, Robert Hamilton <[hidden email]> wrote:
Could some one suggest a small NetRexx pgm to illustrate what it scruntches down to in JAVA?

Bob Hamilton
Richardson Texas USA

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





--
Can't tweet, won't tweet!

_______________________________________________
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/





--
Can't tweet, won't tweet!

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

Alan

--
Needs more cowbell.
Reply | Threaded
Open this post in threaded view
|

RE: NetRexx code snippet

Mike Cowlishaw
In reply to this post by Robert L Hamilton
 
Could some one suggest a small NetRexx pgm to illustrate what it scruntches down to in JAVA? 
Not a small one, but some of the methods in the classes are small:
 
 
(The .zip includes the NteRexx source and the generated Java, formatted by the compiler.)
 
Mike

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

Reply | Threaded
Open this post in threaded view
|

Re: NetRexx code snippet

alansam
FYI  I took a look at the flagged examples on RosettaCode.org and satisfied the requirements (I think).  All should now be well.

Alan.


--
Can't tweet, won't tweet!

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

Alan

--
Needs more cowbell.