comp.lang.ada
 help / color / mirror / Atom feed
From: lutz@iks-jena.de (Lutz Donnerhacke)
Subject: Re: Heterogenous_Array_Test: please explain error
Date: Wed, 13 Jun 2001 09:52:11 +0000 (UTC)
Date: 2001-06-13T09:52:11+00:00	[thread overview]
Message-ID: <slrn9iedo6.hl.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: rouV6.5701$pb1.221839@www.newsranger.com

* Ted Dennison wrote:
>"Child_Component". If you want to access that component, you have to tell the
>compiler that the type is really "Child" (which it will verify at runtime just
>to be sure). I think something like the following will work, though I haven't
>compiled it:
>
>Child'(Item(2).all).Child_Component := 22;

Does this work on a copy of Child initialized with Item(2).all?

I thought typecasts match the pattern "Typ(Expression)" not
"Typ'(Expression)", but i may fail.



  reply	other threads:[~2001-06-13  9:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-12 20:32 Heterogenous_Array_Test: please explain error M. A. Alves
2001-06-12 19:44 ` Ehud Lamm
2001-06-12 19:50 ` Ted Dennison
2001-06-13  9:52   ` Lutz Donnerhacke [this message]
2001-06-13 14:42     ` Ted Dennison
2001-06-13 14:48       ` Ehud Lamm
2001-06-13 15:40         ` Ted Dennison
2001-06-13 17:10           ` Ehud Lamm
replies disabled

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