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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a27198a3d205d507 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-20 13:02:19 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.stueberl.de!teaser.fr!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "David C. Hoos" Newsgroups: comp.lang.ada Subject: Re: procedure and generic package Date: Thu, 20 Nov 2003 14:55:37 -0600 Organization: Cuivre, Argent, Or Message-ID: References: <92bfc3dd.0311201234.6d706aa6@posting.google.com> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1069361763 59366 80.67.180.195 (20 Nov 2003 20:56:03 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Thu, 20 Nov 2003 20:56:03 +0000 (UTC) To: "lolo27" , "comp.lang.ada@ada.eu.org" Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.3 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:2771 Date: 2003-11-20T14:55:37-06:00 It's pretty obvious what's wrong. What did your compiler tell you? "lolo27" wrote in message news:92bfc3dd.0311201234.6d706aa6@posting.google.com... > hi > i need to pass a generic package to a procedure > what is wrong in the following code? > > > with p; > generic > with new_package is new p(<>); > > package final_p is > > procedure something(str:String;instant:new_package); > > end final_automat; > > > thanks :) > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada-france.org > http://www.ada-france.org/mailman/listinfo/comp.lang.ada >