From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Newbe compile problems
Date: 1996/12/17
Date: 1996-12-17T00:00:00+00:00 [thread overview]
Message-ID: <dewar.850826305@merv> (raw)
In-Reply-To: 32B5A49D.6785@freenet.victoria.bc.ca
Jamie asks about another plainly illegal program
with Float_Text_IO;
use Float_Text_IO;
procedure Think is
A, B : Float := 0.0; -- A and B initially zero; note the period.
I, J : Integer := 1;
begin
A := B + 7.0;
I := J * 3;
B := Float(I) + A;
Put(B);
end Think;
Certainly you cannot expect GNAT or any other compiler to compile this
if you do not supply the package Float_Text_IO (there is no standard
package of this name).
You need to get a text book that clearly decsribes Ada 95, and thus
corresponds with the compiler you are using (which is GNAT in this case).
In general people seem to make a lot of trouble for themselves by not
having a coherent and relevant text and documentation. In the case of GNAT,
you need an Ada 95 text book and gnatinfo.txt (or with GNAT v3.07, the
GNAT manuals).
next prev parent reply other threads:[~1996-12-17 0:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-12-16 0:00 Newbe compile problems Jamie Amendolagine
1996-12-17 0:00 ` Robert Dewar [this message]
1996-12-19 0:00 ` David Wheeler
1996-12-19 0:00 ` Larry Kilgallen
-- strict thread matches above, loose matches on Subject: below --
1996-12-24 0:00 Sazonov Cyril
1996-12-18 0:00 Sazonov Cyril
1996-12-19 0:00 ` Robert Dewar
1996-12-19 0:00 ` Keith Thompson
1996-12-15 0:00 James Amendolagine
1996-12-15 0:00 ` Tom Moran
1996-12-15 0:00 ` Robert Dewar
1996-12-16 0:00 ` Richard Curnow
1996-12-17 0:00 ` David Wheeler
1996-12-19 0:00 ` Jesse E. Smith
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox