From: "bklungle" <bklungle@ix.netcom.com>
Subject: Re: Help out a Newbie
Date: 1997/12/26
Date: 1997-12-26T10:53:42-08:00 [thread overview]
Message-ID: <01bd1230$2f50da40$0e2915c0@p5120> (raw)
In-Reply-To: Pine.OSF.3.95q.971225171217.16971A-100000@osf1.gmu.edu
If this is not an Ada95 compiler, you might try what the error message
suggests. Remove "Ada." from all references.
bob
Akinsanya, Babatunde O. <bakinsan@osf1.gmu.edu> wrote in article
<Pine.OSF.3.95q.971225171217.16971A-100000@osf1.gmu.edu>...
> Hi all,
> Just a quick question and a sample code. I am new to Ada and I
> just want to know where I can get a windows (preferably win'95) compiler
> for Ada.
> Second, I tried compiling this sample code and I got the following
> errors. I am working on a unix system using DEC's ada compiler.
>
> with Ada.Text_IO;
> procedure Hello is
> begin
> Ada.Text_IO.Put ("Hello world!");
> Ada.Text_IO.New_Line;
> end Hello;
>
> This is the error message.
> with Ada.Text_IO;
> --------^
> ada: Error: t.ada, line 1: Found "." when expecting one of { "," ";" }
>
> end Hello;
> ada: Error: Terminating compilation due to syntax errors in file t.ada
> ada: Error: Ada compilation completed with 2 diagnostics
>
> Thanks,
> Tundey
>
>
next prev parent reply other threads:[~1997-12-26 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-25 0:00 Help out a Newbie Akinsanya, Babatunde O.
1997-12-26 0:00 ` bklungle [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-12-26 0:00 Jerry van Dijk
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox