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,547701ea20bce1b1,start X-Google-Attributes: gid103376,public From: "Ern" Subject: Private Types??? Date: 1999/05/30 Message-ID: <7iqq2s$imd$1@pinah.connect.com.au>#1/1 X-Deja-AN: 483679361 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: Customer of Connect.com.au P/L, Adelaide, Australia X-MSMail-Priority: Normal Newsgroups: comp.lang.ada Date: 1999-05-30T00:00:00+00:00 List-Id: 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