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=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6efa880b8419152b X-Google-Attributes: gid103376,public From: "James H. Robinson, III" Subject: Working with GNAT Ada Date: 1997/10/02 Message-ID: <01bccf61$ff2dcbe0$eb2aaccf@default>#1/1 X-Deja-AN: 277478974 Organization: Imani Technology X-Received-On: 2 Oct 1997 18:36:24 GMT Newsgroups: comp.lang.ada Date: 1997-10-02T00:00:00+00:00 List-Id: I typed the following code from my textbook into GNAT Ada 95: -- Precompiled instantiations of Integer_IO and -- Float_IO for the predefined Integer and Float types WITH Text_IO; PACKAGE My-Int-_IO IS NEW Text_IO.Integer_IO (Num => Integer); WITH Text_IO; PACKAGE My_Flt_IO IS NEW Text_IO.Float_IO (Num =>); When I tried to compile this code, I received many error messages such as my needing and END statement and my needing declarations. I don't have a clue what's going wrong. Is this due to a difference between Ada83 and Ada95? The problem is, I can't do any of the other examples in Chapter 2 until I get this instantiation working.