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,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1a17bf1815b2a692,start X-Google-Attributes: gid103376,public From: "Duncan Woodward" Subject: Ada-trivial ! Date: 1999/08/10 Message-ID: <934306032.27513.0.nnrp-10.c2de38ef@news.demon.co.uk>#1/1 X-Deja-AN: 511118077 X-NNTP-Posting-Host: synthsoft.demon.co.uk:194.222.56.239 X-Trace: news.demon.co.uk 934306032 nnrp-10:27513 NO-IDENT synthsoft.demon.co.uk:194.222.56.239 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Newsgroups: comp.lang.ada X-Complaints-To: abuse@demon.net Date: 1999-08-10T00:00:00+00:00 List-Id: hi; I want to create a package that handles actions upon a multi dimensional unconstrained array. It is likely that I've approached this problem from the wrong direction, but this is where I'm at.. package array_Handler is type Container_Matrix is array(POSITIVE range <>, POSITIVE range <>, POSITIVE range <>) of Boolean; procedure1 Set_Container_Size(x,y,z:Integer); -- this procedure takes in the three axis values for -- the array index ranges. -- Creates instance of Container_Matrix using parameters -- x,y,z. procedure2 ...etc procedure3 ...etc end array_Handler; PROBLEM: How do I create an instance of type Container_Matrix that is visible to all procedures in the package. A single global declaration would be fine if the array sizes were know in advance! Any ideas please? Duncan RD.