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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5c7d7b754dfe430e X-Google-Attributes: gid103376,public From: Zeiram Subject: Re: Help needed: Access type to functions in generic package Date: 1999/09/12 Message-ID: <37DBFEBF.B74D1958@deathsdoor.com>#1/1 X-Deja-AN: 524175765 Content-Transfer-Encoding: 7bit References: <37DBA86F.3805AA69@deathsdoor.com> <37dbe7da@news1.prserv.net> X-Accept-Language: en,en-US,en-GB,fr Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sunrise.ch X-Trace: news1.sunrise.ch 937164482 4820 194.230.15.42 (12 Sep 1999 19:28:02 GMT) Organization: sunrise communications ag Mime-Version: 1.0 NNTP-Posting-Date: 12 Sep 1999 19:28:02 GMT Newsgroups: comp.lang.ada Date: 1999-09-12T19:28:02+00:00 List-Id: Matthew Heaney wrote : > Why is this package generic? Why don't you declare your array type this > way: > In fact, this was just a part of the definitions of my package. In reality, my type T_Maze is declared as private. This is due to the fact that I also need to realize a dynamic implementation of my software (yes, this a project from my CS course :-) ) It consequently seemed logical to create this package as a generic one. If I decide to use a non private type and do only a static implementation, I know for sure your solution will work perfect. (It was, in fact, the way I ran my first tests) Thanks for your help. Has anybody other ideas? Regards, Zeiram