Importing . . .

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

Importing . . .

Robert L Hamilton
There is a gap in my understanding of when NetRexx has a grip on imported stuff. e.g. Calendar: The import instruction seems to cause no problem to the NetRexx compiler. I'm sort of in ' one hand clapping . . . ' territory; In the NetRexx program how do I get the information in Calendar into NetRexx. AND how does the NetRexx compiler convert this back to Java?

<End_Babble>

thanx and enjoy the day. . .

bobh

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

unsubscribe

Michel.Pauchard

unsubscribe
Michel PAUCHARD
INGENIEUR SYSTEME/RESEAUX 390
Phone:+33 2 35 12 28 90
Fax:+33 2 35 59 84 26

http://www.ecs-group.com




Robert Hamilton <[hidden email]>
Envoyé par : [hidden email]

14/04/2010 12:34

Veuillez répondre à
IBM Netrexx <[hidden email]>

A
IBM Netrexx <[hidden email]>
cc
Objet
[Ibm-netrexx] Importing . . .





There is a gap in my understanding of when NetRexx has a grip on imported stuff. e.g. Calendar: The import instruction seems to cause no problem to the NetRexx compiler. I'm sort of in ' one hand clapping . . . ' territory; In the NetRexx program how do I get the information in Calendar into NetRexx. AND how does the NetRexx compiler convert this back to Java?

<End_Babble>

thanx and enjoy the day. . .

bobh
_______________________________________________
Ibm-netrexx mailing list
[hidden email]


****************************************************************************

Tout usage de ce message par une personne autre que son destinataire est strictement interdit. L'integrite de ce message n'etant pas assuree sur Internet, la societe ne peut etre tenu responsable de son contenu. Toute utilisation ou diffusion non autorisee est interdite. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur.

The information above is for the sole use of the individual or entity to which it is intended. If you are not the intended recipient of this message, you are hereby notified that any dissemination, distribution or copying of this document is strictly prohibited. The integrity of this message cannot be guaranteed on the Internet. The company shall in no way be liable for its content.Please destroy this message and notify the sender.

****************************************************************************

 

 


_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Importing . . .

Thomas.Schneider.Wien
In reply to this post by Robert L Hamilton
Hello Bob,
   when you like I can send you the source of my 'RexxTime' class (as
documented on www.Rexx2Nrx.com/Run-Time)
and you will see what you have to do do import this. But when you are
coming from 'classic Rexx', it might be
easier for you to use the 'classic Rexx' functions date() and time ...
as implemented above....)

cheers, Tom.
===================================================================================
Robert Hamilton schrieb:

> There is a gap in my understanding of when NetRexx has a grip on
> imported stuff. e.g. Calendar: The import instruction seems to cause
> no problem to the NetRexx compiler. I'm sort of in ' one hand clapping
> . . . ' territory; In the NetRexx program how do I get the information
> in Calendar into NetRexx. AND how does the NetRexx compiler convert
> this back to Java?
>
> <End_Babble>
>
> thanx and enjoy the day. . .
>
> bobh
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>
>  

_______________________________________________
Ibm-netrexx mailing list
[hidden email]

Tom. (ths@db-123.com)
Reply | Threaded
Open this post in threaded view
|

Re: Importing . . .

rvjansen
In reply to this post by Robert L Hamilton
Hi Robert,

the import instruction enables you to do 'shorthand'; refer to class names without mentioning the packet names. This causes no problems as long as the package is found on the classpath.

The question of 'how it gets into NetRexx' goes away as soon as you will embrace the notion that NetRexx, at runtime, is all Java. Even the NetRexx type is a Java class and has a runtime Java representation. A nice excercise would be to look at the generated Java source code (compile with option -keep) and see how the assignments work.

best regards,

René.

On 14 apr 2010, at 12:30, Robert Hamilton wrote:

> There is a gap in my understanding of when NetRexx has a grip on imported stuff. e.g. Calendar: The import instruction seems to cause no problem to the NetRexx compiler. I'm sort of in ' one hand clapping . . . ' territory; In the NetRexx program how do I get the information in Calendar into NetRexx. AND how does the NetRexx compiler convert this back to Java?
>
> <End_Babble>
>
> thanx and enjoy the day. . .
>
> bobh
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
>


_______________________________________________
Ibm-netrexx mailing list
[hidden email]