WG: USING Properties within NetRexx on LEFT HAND SIDE of an assig nment.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

WG: USING Properties within NetRexx on LEFT HAND SIDE of an assig nment.

Thomas.Schneider
> Hello Mike at all,
>    Happy new year to all you 'netRexx' users ....
>
> Thought it is worthwhile to start the new year with the first question to
> the group ... The question relates the handling of IMPORTED and USED
> public properties ON THE LEFT HAND SIDE of an assignment clause:
>
>    I do have 2 Java classes, PP_Parms and PP_Parse, for instance.
>    
> File PP_Parms.nrx
>
>    package Rexx2Nrx.PP
>    import Rexx2Nrx.PP.
>    class PP_Parms public
>    properties public static
>    ...
>    PP_File_name= Rexx ''
>    ...
>
>
> File: PP_Parse.nrx
>
>    package Rexx2Nrx.PP
>    import Rexx2Nrx.PP.
>    class PP_Parse public USES PP_Parms
>    method abc public static
>      ...
>      xx=PP_File_Name    /* this works ok, get's the current value of
> PP_Parms.PP_File_name */
>      
>      ---
>      PP_File_Name = 'abc.def'  /* this does NOT work, i.e. the left hand
> side id NOT expanded as above!!*/
>
>      (of course  PP_Parms.PP_FileName = 'abc.def' is again OK!)
>
> What is the reason behind this current behaviour? Why is NetRexx NOT
> expanding property names on the left hand side using the 'USES-List'  ???)
>
> Your advice will be appreciated.
> Tom.
>    

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>