From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1c7098170d1fe6a5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-13 02:52:53 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-FFM2.ecrc.net!news.iks-jena.de!lutz From: lutz@iks-jena.de (Lutz Donnerhacke) Newsgroups: comp.lang.ada Subject: Re: Heterogenous_Array_Test: please explain error Date: Wed, 13 Jun 2001 09:52:11 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: References: NNTP-Posting-Host: taranis.iks-jena.de X-Trace: branwen.iks-jena.de 992425931 2489 217.17.192.37 (13 Jun 2001 09:52:11 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Wed, 13 Jun 2001 09:52:11 +0000 (UTC) User-Agent: slrn/0.9.6.3 (Linux) Xref: archiver1.google.com comp.lang.ada:8645 Date: 2001-06-13T09:52:11+00:00 List-Id: * 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.