comp.lang.ada
 help / color / mirror / Atom feed
* "Package 'Text_IO' is not predefined"
@ 1998-01-10  0:00 Dave Hetrick
  1998-01-10  0:00 ` Robert Dewar
  1998-01-12  0:00 ` Kenneth J Price
  0 siblings, 2 replies; 3+ messages in thread
From: Dave Hetrick @ 1998-01-10  0:00 UTC (permalink / raw)



I keep getting a "Package 'Text_IO' is not predefined" error when I try
to compile a sample program that came with a tutorial.
Here is the code of the program.

    with Text_IO; use Text_IO;
procedure Hello is
begin
    Put_Line("Hello!");
end Hello;

I am using the GNAT compiler, with DJGPP also.
I downloaded it off of
ftp://wuarchive.wustl.edu/languages/ada/compiler/ez2load/
How can I predefine Text_IO? I am a beginner at Ada, just learning.... so I
don't
know much.
Thanks a lot,
Dave :)






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-01-12  0:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-10  0:00 "Package 'Text_IO' is not predefined" Dave Hetrick
1998-01-10  0:00 ` Robert Dewar
1998-01-12  0:00 ` Kenneth J Price

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox