From: "James H. Robinson, III" <jr3uva90@erols.com>
Subject: Working with GNAT Ada
Date: 1997/10/02
Date: 1997-10-02T00:00:00+00:00 [thread overview]
Message-ID: <01bccf61$ff2dcbe0$eb2aaccf@default> (raw)
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.
next reply other threads:[~1997-10-02 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-02 0:00 James H. Robinson, III [this message]
1997-10-02 0:00 ` Working with GNAT Ada Jon S Anthony
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox