comp.lang.ada
 help / color / mirror / Atom feed
From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: simple question?! (choice of the name "access type")
Date: 11 Jun 2003 06:31:21 -0500
Date: 2003-06-11T06:31:21-05:00	[thread overview]
Message-ID: <QPS8qGYHmxOK@eisner.encompasserve.org> (raw)
In-Reply-To: d40d7104.0306102259.6a450043@posting.google.com

In article <d40d7104.0306102259.6a450043@posting.google.com>, vashwath@rediffmail.com (prashna) writes:
> Hi all,
> Why access types in Ada are called as access types?What can these
> types access?why not it is called by some other name?Any pointers on
> this will be appreciated.

The value of an access type can be used to access objects of some
other type (designated when the particular access type was declared).

The other name which access types might have been called is "pointers",
but they lack many of the aspects (drawbacks) of pointers in other
languages:

		You cannot arbitrarily add to access types as one would
			do in C to walk down an array (or walk off the
			end of an array).

		Implementations are not required to implement access
			types as a pointer.



  parent reply	other threads:[~2003-06-11 11:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-11  6:59 simple question?! prashna
2003-06-11 11:08 ` Wojtek Narczynski
2003-06-11 11:31 ` Larry Kilgallen [this message]
2003-06-11 19:13   ` simple question?! (choice of the name "access type") Robert A Duff
2003-06-11 20:33     ` Georg Bauhaus
2003-06-12  8:58     ` Keith Thompson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox