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,9b39dbd8effaa623 X-Google-Attributes: gid103376,public From: je@bton.ac.uk (John English) Subject: Re: simple problem? Date: 1996/05/13 Message-ID: #1/1 X-Deja-AN: 154624918 references: organization: University of Brighton, UK newsgroups: comp.lang.ada Date: 1996-05-13T00:00:00+00:00 List-Id: Robert A Duff (bobduff@world.std.com) wrote: : In article , John English wrote: : >Frank Cheung (fktc101@york.ac.uk) wrote: : >: package TEXT_IO is new SEQUENTIAL_IO(STRING); : > The problem is that String is an unconstrained type; ... : Sequential_IO allows unconstrained arrays. Direct_IO does not. Umm, this guy appears to me to be talking Ada 83 (which didn't allow instantiation of Sequential_IO with an unconstrained type), not 95. Just little giveaways like the "all caps" style and TEXT_IO rather than Ada.Text_IO. I may of course be wrong, and he might in fact be using Ada 95, in which case my answer *would* be complete rubbish, but then he wouldn't be getting this particular error, ne c'est pas? -- ---------------------------------------------------------------------------- John English , Dept. of Computing, University of Brighton "Disks are divided into sex and tractors..." ----------------------------------------------------------------------------