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.2 required=5.0 tests=BAYES_00,FROM_WORDY, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,336232e570812d9b X-Google-Attributes: gid103376,public From: "Nick Roberts" Subject: Re: Stream_io / records with default discriminants Date: 1999/02/14 Message-ID: <7a7fbd$t50$1@plug.news.pipex.net>#1/1 X-Deja-AN: 444379198 References: <#8nPq9DW#GA.131@nih2naac.prod2.compuserve.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: UUNET WorldCom server (post doesn't reflect views of UUNET WorldCom) Newsgroups: comp.lang.ada Date: 1999-02-14T00:00:00+00:00 List-Id: Bernd, I think your problem is this: when you declare Test_Record1, it is constrained but not initialised. The Eins_Int component within this record can, therefore, be any value. You then (presumably) write out this record into a file, and then read it in again. On the AIX, I guess, it just so happens that an invalid value is written out, and then detected upon being read back in (raising Constraint_Error). Let us know if this doesn't solve your problem. ------------------------------------------- Nick Roberts The meek shall inherit the Earth. And then pay the capital transfer tax on it in full. -------------------------------------------