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,4534c5761ecfe4e0 X-Google-Attributes: gid103376,public From: "bklungle" Subject: Re: Help out a Newbie Date: 1997/12/26 Message-ID: <01bd1230$2f50da40$0e2915c0@p5120>#1/1 X-Deja-AN: 310353001 References: Organization: B & D Associates X-NETCOM-Date: Fri Dec 26 10:53:42 AM PST 1997 Newsgroups: comp.lang.ada Date: 1997-12-26T10:53:42-08:00 List-Id: If this is not an Ada95 compiler, you might try what the error message suggests. Remove "Ada." from all references. bob Akinsanya, Babatunde O. wrote in article ... > 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 > >