Re (2): [Oberon] identity of two VARs
Lior Wehrli
wehrlil at student.ethz.ch
Fri Sep 16 10:05:26 CEST 2005
Peter,
I suggested using SYSTEM.ADR(source[0]) instead of SYSTEM.ADR(source)
because I do not know if a comparison with the latter will give the expectet
result for your example. SYSTEM.ADR(source[0]) explicitely retrieves the
address of the first character in the array while SYSTEM.ADR(source) (I
think) it will return the address of the variable source, and not the
address *inside* the variable source.
Maybe SYSTEM.ADR(source) will work for you, but SYSTEM.ADR(source[0]) will
work for sure.
Lior
----- Original Message -----
From: <shark at gulfnet.sd64.bc.ca>
To: <oberon at lists.inf.ethz.ch>
Sent: Thursday, September 15, 2005 7:28 PM
Subject: Re (2): [Oberon] identity of two VARs
> David,
>
> d> .... SYSTEM.ADR(source) ... will necessarily differ from
> SYSTEM.ADR(target), since the two locations are disjoint.
>
> I was allowing the possibility that a client invokes
> Identical(astring, astring).
>
> I'm missing a subtlety. source[0] is where source begins
> and target[0] is where target begins.
> So how can (SYSTEM.ADR(source[0]) = SYSTEM.ADR(target[0]))
> differ from (SYSTEM.ADR(source) = SYSTEM.ADR(target))?
>
> Perhaps an example?
>
> Thanks, ... Peter
>
> Desktops.OpenDoc http://carnot.pathology.ubc.ca/
>
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://www.mail.inf.ethz.ch/lists/listinfo/oberon
>
More information about the Oberon
mailing list