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: 103376,ebdc5ed511896a0 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!y42g2000hsy.googlegroups.com!not-for-mail From: shoshanister@gmail.com Newsgroups: comp.lang.ada Subject: Re: urgent question - generics Date: Mon, 03 Sep 2007 04:59:48 -0700 Organization: http://groups.google.com Message-ID: <1188820788.189072.71290@y42g2000hsy.googlegroups.com> References: <1188809249.040351.100160@r29g2000hsg.googlegroups.com> <1188819585.514081.201050@57g2000hsv.googlegroups.com> NNTP-Posting-Host: 89.138.8.190 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1188820788 21150 127.0.0.1 (3 Sep 2007 11:59:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 3 Sep 2007 11:59:48 +0000 (UTC) In-Reply-To: <1188819585.514081.201050@57g2000hsv.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: y42g2000hsy.googlegroups.com; posting-host=89.138.8.190; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:1688 Date: 2007-09-03T04:59:48-07:00 List-Id: On Sep 3, 2:39 pm, gautier_niou...@hotmail.com wrote: > > 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! I tried to do the challenge, but really I didn't find the answer in the short time I had. I have to go to the exam now. If you don't mind, answering me just to help me understand, I will look at it after the exam, and maybe then I will understand. Now it's too late for me. BTW, I studied according to 2 books. 1 of them is not in English, it's of my university, and the other one is: Object-oriented software in ada95 2nd edition by Michael A. Smith. I read them both and did excersizes. Perhaps its because the stress, I can't figure it out now. I hope you wish me luck. I'll login in a few hours to see what I was missing.. Thanks