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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5fd1cba526594f4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-10 06:44:30 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!212.74.64.35!colt.net!diablo.theplanet.net!news.indigo.ie!feeder.news.heanet.ie!193.1.198.47.MISMATCH!not-for-mail Newsgroups: comp.lang.ada From: Colin_Paul_Gloster@ACM.org (Colin Paul Gloster) Subject: Re: Some questions References: <6c4a2b60cbe5ecf058fadca48f6c6e80.110780@mygate.mailgate.org> <19f3ad7fb9ae3e7dd23e6ce7a7e8ee1a.110780@mygate.mailgate.org> Reply-To: Colin_Paul_Gloster@ACM.org Message-ID: User-Agent: slrn/0.9.7.0 (SunOS) Organization: Dublin City University (DCU) Cache-Post-Path: ns2-ext.dcu.ie!unknown@camac.dcu.ie X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Date: 10 Oct 2002 13:44:29 GMT NNTP-Posting-Date: 10 Oct 2002 13:44:29 GMT NNTP-Posting-Host: 136.206.1.1 X-Trace: 1034257469 reader.news.heanet.ie 182 [::ffff:136.206.1.1]:55408 Xref: archiver1.google.com comp.lang.ada:29657 Date: 2002-10-10T13:44:29+00:00 List-Id: Sim Con wrote: "[..] i have another question: my print procedure needs a stack type for work and use some private variable of the generic class so if i define a specific print in other parts (main procedures or in other packages) i receive an error, any help? thanx again!!" Add a function (an accessor method) to the generic which returns a copy of the private variable. This function should not be private, so that it can be called elsewhere.