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.9 required=5.0 tests=BAYES_00,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,73ab8b745d9afa77,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!newsfe24.iad.POSTED!7564ea0f!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Synatx error for Hello World Ada program in the web, or did Ada changed? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3598 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-RFC2646: Format=Flowed; Original X-EsetId: 321EA926BF2030326552 X-EsetScannerBuild: 6259 Message-ID: NNTP-Posting-Host: begadmgiaeejkobgmlajjaghfffiecpj X-Complaints-To: abuse@charter.net X-Trace: jkohgggjelajdaokjcgmplepfogblcmlfcfkfhlnjfpllgfdbegadmgiaeejkobgllefkldchmfdmhkfnjjdjmkmipkhaooineklagkgoekgnnbmnpnncmfcmapbkmgibgjklipccefckbgb NNTP-Posting-Date: Tue, 22 Dec 2009 23:16:58 UTC Date: Tue, 22 Dec 2009 17:16:58 -0600 Xref: g2news1.google.com comp.lang.ada:8487 Date: 2009-12-22T17:16:58-06:00 List-Id: I was just testing my GPS installation from the latest GPL 2009 edition downloaded from Ada libre web site. So I just copied this hello world ada program shown here: http://www.engin.umd.umich.edu/CIS/course.des/cis400/ada/hworld.html Here it is: with Text_To; use Text_To procedure hello is begin put("Hello World"); end hello Funny thing is that, I got 2 syntax errors. (but GPS is working!) ";" is missing from the end of the first line and the end of the last line. Is this just an oversight on the above web page, or did Ada may be changed from the version which was used for the above code? I assume GPL 2009 uses Ada 2005, and may be the above code was for Ada 83 or Ada 95 and things changed? Or may be this is a GNAT only thing? I doubt it? --Nasser