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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,611fb023d16b157d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-04 09:40:43 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!194.176.220.130!newsfeed.icl.net!newsfeed.icl.net!isdnet!psinet-france!psiuk-f4!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Here my package Date: Wed, 4 Apr 2001 12:15:12 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9afhah$dmk$1@nh.pace.co.uk> References: <0rGy6.262$A24.137061@carnaval.risq.qc.ca> <9afek0$cnp$1@nh.pace.co.uk> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 986400913 14036 136.170.200.133 (4 Apr 2001 16:15:13 GMT) X-Complaints-To: newsmaster@pace.co.uk NNTP-Posting-Date: 4 Apr 2001 16:15:13 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: supernews.google.com comp.lang.ada:6458 Date: 2001-04-04T16:15:13+00:00 List-Id: As long as Date_Valide is a library level procedure, it can be brought into your main program with a context clause just like I did with LesDates. If you want to *add* Date_Valide to the package LesDates - then you've got two ways to go. One is just to add it in like all the other functions - just cut and paste and change the names as appropriate. The other is to extend LesDates with a child package to include all of the procedures you like: package LesDates.My_Stuff is ... end LesDates.My_Stuff ; Which you use is up to you and what it is your assignment is supposed to be illustrating. This sort of thing ought to be in your textbook with plenty of examples. Look through your text to see how to declare a procedure within a package or a child package. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Mich" wrote in message news:UvHy6.320$A24.146429@carnaval.risq.qc.ca... > the procedure need to be in the package 'cause in my principal program i > will call the Date_Valide >