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.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, T_HK_NAME_FM_MR_MRS autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2444cce9d441268f,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-20 13:43:58 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: ratsonjaniv@hotmail.com (Mr. J.) Newsgroups: comp.lang.ada Subject: generic procedure with a generic package as generic parameter Date: 20 Jan 2004 13:43:57 -0800 Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 82.166.174.136 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1074635038 4706 127.0.0.1 (20 Jan 2004 21:43:58 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 20 Jan 2004 21:43:58 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:4584 Date: 2004-01-20T13:43:57-08:00 List-Id: Hi, I have a generic package (A.K.A Automate); I wanna write a generic procedure that its parameter is an Automate, hence something like: generic with package My_Automate is new Automate (<>); procedure Check_Automate(A:My_Automate); But I dont know how to write it. Please help me. I need to know how to write both the ads and the adb. A sample will be more than great. 10x, J.