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-Thread: 103376,df5511acc5341804 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!proxad.net!freenix!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: ASIS questions Date: Tue, 09 Aug 2005 10:41:28 +0200 Organization: Adalog Message-ID: References: <42f7cd81$1_4@newsfeed.slurp.net> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1123578074 11879 195.25.228.57 (9 Aug 2005 09:01:14 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Tue, 9 Aug 2005 09:01:14 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: fr, en In-Reply-To: <42f7cd81$1_4@newsfeed.slurp.net> Xref: g2news1.google.com comp.lang.ada:4044 Date: 2005-08-09T10:41:28+02:00 List-Id: James Alan Farrell a �crit : > Hi all, > A couple questions on ASIS: > 1. I have a variant record declaration. I can find all the fields, > including those inside the case statement. But I cannot find the > parameters. How do I get the parameters of a variant record? Asis.Declarations.Discriminant_Part Note that these components are called "discriminants", not "parameters". That can explain why you didn't find them... > 2. I have an record aggregate, and I need to find the record > declaration. In particular, I need to know how many fields the record > contains when I have something like (A, B, others => C). How do I find > the record declaration? > Corresponding_Expression_Type of the Aggregate will return the corresponding type declaration. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr