[Oberon] [Fwd: RE: objects and jewels]
Douglas G. Danforth
danforth at greenwoodfarm.com
Wed Feb 20 06:18:51 CET 2013
Here is some code as an example
MyRecord = RECORD n: INTEGER; r: REAL END;
a: POINTER TO MyRecord;
b: POINTER TO MyRecord;
b := a;
(*both a and b point to the same memory location*)
On 2/19/2013 9:13 PM, Srinivas Nayak wrote:
> Dear Douglas,
> I didn't get you.
> Will you please elaborate a bit?
> With thanks and best regards,
> Yours sincerely,
> Srinivas Nayak
> Home: http://www.mathmeth.com/sn/
> Blog: http://srinivas-nayak.blogspot.in/
> Douglas G. Danforth wrote:
>> With a pointer, two (or more) different variables can access the same
>> thing: a numeric value;
>> a record; a record with methods (Object).
>> -Doug Danforth
>> On 2/19/2013 8:17 PM, Srinivas Nayak wrote:
>>> One thing I couldn't understand, what was the need of pointers?
>> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
More information about the Oberon