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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,91829d2306080fa8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-09 11:45:20 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Newbie question on child packages Date: Wed, 9 Oct 2002 18:45:20 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1034189120 21618 129.241.83.78 (9 Oct 2002 18:45:20 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Wed, 9 Oct 2002 18:45:20 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:29634 Date: 2002-10-09T18:45:20+00:00 List-Id: Justin Birtwell wrote: > Thanks, It worked! does the pragma Pure allow me to not specifically > prefix all the child packages with 'jb'? No. But you should let them have the prefix. Then it is much easier to find the correct file when you need to edit your child packages later. Look at my files: gac.ads gac-callbacks.adb gac-callbacks.ads gac-dialog-about.adb gac-dialog-about.ads gac-dialog.adb gac-dialog.ads gac-dialog-exceptions.adb gac-dialog-exceptions.ads gac-dialog-info.adb gac-dialog-info.ads gac-dialog-unsaved.adb gac-dialog-unsaved.ads gac-intl.adb gac-intl.ads gdialog.adb Gac (GtkAda Composites) is the parent package. Now if I want to edit my info dialog it is easy to figure out which file it is. Preben -- Ada95 is good for you. http://libre.act-europe.fr/Software_Matters/02-C_pitfalls.pdf