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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ebdc5ed511896a0 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!57g2000hsv.googlegroups.com!not-for-mail From: gautier_niouzes@hotmail.com Newsgroups: comp.lang.ada Subject: Re: urgent question - generics Date: Mon, 03 Sep 2007 04:39:45 -0700 Organization: http://groups.google.com Message-ID: <1188819585.514081.201050@57g2000hsv.googlegroups.com> References: <1188809249.040351.100160@r29g2000hsg.googlegroups.com> NNTP-Posting-Host: 83.76.178.89 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1188819585 19311 127.0.0.1 (3 Sep 2007 11:39:45 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 3 Sep 2007 11:39:45 +0000 (UTC) In-Reply-To: <1188809249.040351.100160@r29g2000hsg.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; InfoPath.1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: 57g2000hsv.googlegroups.com; posting-host=83.76.178.89; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:1686 Date: 2007-09-03T04:39:45-07:00 List-Id: > I want to create a generic function that receives a generic procedure > (without any parameters) as a parameter. > > Do you have any ideas? Use a something called a search engine, e.g. http://www.google.com/search?q=generic+procedure+ada and / or look in the Reference Manual... Challenge: you have 5 clicks to find an example! ______________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/index.htm Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!