comp.lang.ada
 help / color / mirror / Atom feed
* Limited Type Access - Again
@ 2001-10-29 18:51 ANH_VO
  2001-10-29 21:25 ` Matthew Heaney
  2001-10-30 16:44 ` Mark Lundquist
  0 siblings, 2 replies; 3+ messages in thread
From: ANH_VO @ 2001-10-29 18:51 UTC (permalink / raw)
  To: comp.lang.ada

Thanks all for your response, specially Mark and Matt.

Here comes the next question

type Object is 
    record
        Sem : Binary_Access;
   end record;

Obj_1 : Object;
Obj_2 : Object;

if Obj_1 /= Obj_2  then
   Obj_1 := Obj;
end if;

This is equivalent to

if Obj_1.Sem /= Obj_1.Sem then
   Obj_1.Sem := Obj_2.Sem;
end if;

It looks to me that equality and assignment do not make sense at all. 

Anh Vo



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-10-30 16:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-29 18:51 Limited Type Access - Again ANH_VO
2001-10-29 21:25 ` Matthew Heaney
2001-10-30 16:44 ` Mark Lundquist

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