That's the inside view.
When I read about assingment, it says that the value of the expression on the 
righthand side
is assigned to the variable on the lefthand side.

consider 
r.=0
r.3=16
rr.=r.
blabla=r.
Say 'blabla='blabla  
     
Walter Pachl

---- Rick McGuire <[email protected]> schrieb:
> It most certainly IS an assignment.  The stem variable rr. is set to
> contain a reference to the same stem object referenced by the stem variable
> r.  ooRexx does not have a concept of variable aliasing. This is the same
> assignment mechanism that allows USE ARG to work or returning a stem object
> from a function or method call.  I don't have the reference handy right now
> so I can't cite chapter and verse, but this is most certainly documented.
> 
> Rick
> 
> On Mon, May 25, 2015 at 7:10 AM, Walter Pachl <[email protected]>
> wrote:
> 
> > In REXX version 1 of this RC-task:
> >
> > http://rosettacode.org/wiki/Hofstadter_Figure-Figure_sequences#REXX
> >
> > there is this statement
> >
> > rr.=r.;
> >
> > which shows a severe incompatibility.
> >
> >
> >
> > With Regina, this program runs fine.
> >
> > With ooRexx it fails!
> >
> >
> >
> > The reason is that the above is NOT an assignment
> >
> > but it makes rr. a synonym/alias for r.
> >
> >
> >
> > I skimmed the ooRexx reference and could not find a
> >
> > description of this fact.
> >
> >
> >
> > Besides: This IS a bit of a surprise and what I
> >
> > don't quite understand what this is good for.
> >
> >
> >
> > Regards,
> >
> > Walter
> >
> >
> > ------------------------------------------------------------------------------
> > One dashboard for servers and applications across Physical-Virtual-Cloud
> > Widest out-of-the-box monitoring support with 50+ applications
> > Performance metrics, stats and reports that give you Actionable Insights
> > Deep dive visibility with transaction tracing using APM Insight.
> > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> > _______________________________________________
> > Oorexx-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
> >
> >


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to