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,547701ea20bce1b1 X-Google-Attributes: gid103376,public From: "Paul Hussein" Subject: Re: Private Types??? Date: 1999/05/30 Message-ID: <7ir1j2$9ch$1@lure.pipex.net>#1/1 X-Deja-AN: 483698554 References: <7iqq2s$imd$1@pinah.connect.com.au> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@uk.uu.net X-Trace: lure.pipex.net 928057762 9617 194.69.105.11 (30 May 1999 09:49:22 GMT) Organization: UUNET WorldCom server (post doesn't reflect views of UUNET WorldCom X-MSMail-Priority: Normal NNTP-Posting-Date: 30 May 1999 09:49:22 GMT Newsgroups: comp.lang.ada Date: 1999-05-30T09:49:22+00:00 List-Id: Post your code. Ern wrote in message news:7iqq2s$imd$1@pinah.connect.com.au... > I have a problem which I am having a hard time solving. I'm a running a > three-file program; a driver and a package body and specification. Formerly > this was combined in one file and worked fine. Now, I've moved all the type > declarations to the specification and made some of them private. One type in > particular is an array of a record type. This is where the problem lies. > When reading data from a file which I know to be correct (this procedure > worked when all code was encompassed in one file) I get a constraint error, > if I run the procedure again, with the same file, I get a use error. What I > can't figure out is why; these types are available to the driver program. > > Please, if anyone can help me, please email me directly because I don't > often visit these groups. > > > Thanks, Paul > >