comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@bix.com
Subject: Re: Access and alias
Date: 2000/04/04
Date: 2000-04-04T00:00:00+00:00	[thread overview]
Message-ID: <m3rG4.2$ki1.163@news.pacbell.net> (raw)
In-Reply-To: vEpG4.1568$sB3.971@news.indigo.ie

> DCB_Access:LPDCB := DCB'Access;

  This says you want the variable DCB_Access to point to DCB, which is
a *type*.  You probably meant it to point to an *object* of type DCB,
in particular, the object DCB_1, so you need to say:
  DCB_Access:LPDCB := DCB_1'Access;
Also, in order to have anything point at DCB_1, you are required to
announce in public that there may be ways to modify object DBC_1
other than via the name "DCB_1", ie, DCB_1 may have aliases.  Say
  DCB_1: aliased DCB;
and then the compiler will let you make pointers to DCB_1.




      parent reply	other threads:[~2000-04-04  0:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-04  0:00 Access and alias NANCY HEHIR
2000-04-04  0:00 ` Laurent Guerby
2000-04-04  0:00   ` NANCY HEHIR
2000-04-04  0:00     ` Laurent Guerby
2000-04-05  0:00       ` Alfred Hilscher
2000-04-05  0:00         ` Laurent Guerby
2000-04-05  0:00         ` Ted Dennison
2000-04-05  0:00           ` Jeff Carter
2000-04-06  0:00             ` Alfred Hilscher
2000-04-07  0:00               ` Jeff Carter
2000-04-06  0:00             ` Robert Dewar
2000-04-07  0:00               ` Jeff Carter
2000-04-06  0:00           ` tmoran
2000-04-07  0:00             ` Robert Dewar
2000-04-07  0:00               ` tmoran
2000-04-09  0:00                 ` Robert Dewar
2000-04-09  0:00                   ` tmoran
2000-04-10  0:00                 ` Jack W. Sharer
2000-04-06  0:00           ` Robert Dewar
2000-04-05  0:00     ` Jeffrey D. Cherry
2000-04-04  0:00 ` tmoran [this message]
replies disabled

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