From: Chad Bremmon <chad.bremmon@comm.hq.af.mil>
Subject: Re: What's the point?
Date: 1996/08/08
Date: 1996-08-08T00:00:00+00:00 [thread overview]
Message-ID: <3209CDC8.8A4@comm.hq.af.mil> (raw)
In-Reply-To: 32064473.59F6@freenet.scri.fsu.edu
The Quelisher wrote:
>
It worked exactly the same way in the language
formerly known as Ada.
There is, however, a reason.
__________________
For example:
Pointer_a := pointer_b;
does that mean the contents of pointer a := the
contents of pointer b or does it mean they now
point to the same thing. In Ada, it means that
pointer_a and pointer_b now point to the same
thing. It cannot be automatically dereferenced.
However, if I want to dereference in this
situation, I must use ".all" to dereference
explicitly.
Pointer_a.all := Pointer_B.all;
This will copy the contents of Pointer_b into the
contents of pointer_a.
Chad
> If Ada95 allows dereferencing the ".all" call for pointer variables,
> then what's the point of even having a ".all" call in the first place?
> Is this a carryover from Ada83 or something?
> --
> *.........................................*
> . |/ .
> . |\ENDAL .
> . WWW => http://www.cs.fsu.edu/~vandyke .
> . EMail => kendal@freenet.scri.fsu.edu .
> . Pager => (904) 297-6658 .
> . .
> *.........................................*
next prev parent reply other threads:[~1996-08-08 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-05 0:00 What's the point? The Quelisher
1996-08-08 0:00 ` Chad Bremmon [this message]
1996-08-10 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox