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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8fe003b966ed27e4,start X-Google-Attributes: gid103376,public From: James Amendolagine Subject: Newbe compile problems Date: 1996/12/15 Message-ID: <32B437AC.209EE9B8@freenet.victoria.bc.ca>#1/1 X-Deja-AN: 204275556 content-type: text/plain; charset=us-ascii organization: Canada Internet Direct, Inc. mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 3.01 (X11; I; Linux 2.0.13 i586) Date: 1996-12-15T00:00:00+00:00 List-Id: Hello, I am just starting with ADA. I am going through the ADA turorial, and can't get some source code to compile. Here's the source: 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.; I := J * 3; B := Float(I) + A; Put(B); end Think; And the error message: cd /home/jamie/learnAda/think/ gnatmake think.adb gcc -c think.adb think.adb:7:14: real literal cannot end with point gnatmake: "think.adb" compilation error Compilation exited abnormally with code 2 at Sun Dec 15 09:34:00 I am using Redhat Linux. With gnat-3.07. --Other examples like "hello world" compiled OK. Solutions? Thanks in advance. Jamie