comp.lang.ada
 help / color / mirror / Atom feed
From: ANH_VO@udlp.com
To: comp.lang.ada@ada.eu.org
Subject: Limited Type Access - Again
Date: Mon, 29 Oct 2001 12:51:06 -0600
Date: 2001-10-29T12:51:06-06:00	[thread overview]
Message-ID: <mailman.1004389122.4372.comp.lang.ada@ada.eu.org> (raw)

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



             reply	other threads:[~2001-10-29 18:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-29 18:51 ANH_VO [this message]
2001-10-29 21:25 ` Limited Type Access - Again Matthew Heaney
2001-10-30 16:44 ` Mark Lundquist
replies disabled

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