TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Forum View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"Alphonse, Prineesh" <[log in to unmask]>
Reply To:
Alphonse, Prineesh
Mon, 20 Sep 2004 04:44:35 -0700
text/plain (24 lines)
Hi Guys,
      I have a basic doubt regarding Access types in ADA.Suppose I have
declared a variable as
type Address is access Integer;
Pointer : Address;

Now if I do a Increment Operation in ie Pointer := Pointer + 1;
where will the Pointer Points to now. Will it be the next Byte or is it the
Next Integer Location ie pointer will move forward by Four Bytes.

Prineesh Alphonse      Honeywell
Aerospace Engine Systems & Solutions.
Ph: 91-80-6585751/6588360 Extn-8333
[log in to unmask] <mailto:[log in to unmask]>
NOTICE: This e-mail, and any attachments thereto, are intended only for use
by the addressee(s) named herein and contain Honeywell confidential
information. If you are not the intended recipient of this e-mail, you are
hereby notified that any dissemination, distribution or copying which
amounts to misappropriation of this e-mail and any attachments thereto, is
strictly prohibited. If you have received this e-mail in error, please
immediately notify me and permanently delete the original and any copy of
any e-mail and any printout thereof.