From: KK6GM <kk6gm@att.net>
Subject: Access types - what's happening here?
Date: Tue, 25 May 2010 15:27:39 -0700 (PDT)
Date: 2010-05-25T15:27:39-07:00 [thread overview]
Message-ID: <5f5003e9-4b34-4489-be37-360f5c9063b9@e34g2000pra.googlegroups.com> (raw)
Looking at Cohen's "Ada as a 2nd Language" I see in chapter 8 (Access
Types), p.319, this construct which I do not understand. But first,
the construct I do understand:
Old_Serial_Number := Serial_Number("Lovelace, Ada").all;
No confusion about that whatsoever. However, that is followed by
this:
"More interestingly, the assignment
Serial_Number( "Lovelace, Ada").all := New_Serial_Number;
copies the contenst of the integer variable into the variable
pointed to by the result of the function call."
Huh? Where does the New_Serial_Number value end up here?
next reply other threads:[~2010-05-25 22:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-25 22:27 KK6GM [this message]
2010-05-25 22:38 ` Access types - what's happening here? Yannick Duchêne (Hibou57)
2010-05-25 22:39 ` Yannick Duchêne (Hibou57)
2010-05-25 22:47 ` KK6GM
2010-05-25 23:33 ` Yannick Duchêne (Hibou57)
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox