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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,daf3a0910fbd55c,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!y23g2000yqd.googlegroups.com!not-for-mail From: stuart clark Newsgroups: comp.lang.ada Subject: how to i get the type of a parameter specification is ASIS Date: Mon, 25 Oct 2010 04:55:51 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 115.64.246.86 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1288007752 1108 127.0.0.1 (25 Oct 2010 11:55:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 25 Oct 2010 11:55:52 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y23g2000yqd.googlegroups.com; posting-host=115.64.246.86; posting-account=MZK52AoAAABSzwZnz7ceKVzE2LKWwfyu User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:14743 Date: 2010-10-25T04:55:51-07:00 List-Id: 1) i am getting the parameter_specification using params : Asis.Parameter_Specification_List := asis.Declarations.Parameter_Profile (element); 2) from params i am getting the parameter name using names: asis.Defining_Name_list := asis.declarations.Names(params(i)); 3) i am also getting the parameter mode_kind using mode_kind : Asis.Mode_Kinds := asis.elements.mode_kind (params(i)); it looks like this param = b : in out float name = b mode kind = AN_IN_OUT_MODE but i also want the type of the parameter, eg float. anybody know how ???