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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,73ab8b745d9afa77 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!f18g2000prf.googlegroups.com!not-for-mail From: Anh Vo Newsgroups: comp.lang.ada Subject: Re: Synatx error for Hello World Ada program in the web, or did Ada changed? Date: Tue, 22 Dec 2009 16:16:17 -0800 (PST) Organization: http://groups.google.com Message-ID: <1c410668-4889-4ad3-b29e-3f52d53eaf91@f18g2000prf.googlegroups.com> References: NNTP-Posting-Host: 69.232.197.80 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1261527377 1826 127.0.0.1 (23 Dec 2009 00:16:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 23 Dec 2009 00:16:17 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f18g2000prf.googlegroups.com; posting-host=69.232.197.80; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:8491 Date: 2009-12-22T16:16:17-08:00 List-Id: On Dec 22, 3:16=A0pm, "Nasser M. Abbasi" wrote: > 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 > =A0 procedure hello is > =A0 =A0 begin > =A0 =A0 put("Hello World"); > =A0end hello > > Funny thing is that, I got 2 syntax errors. =A0(but GPS is working!) > > ";" is missing from the end of the first line and the end of the last lin= e. > > Is this just an oversight on the above web page, or did Ada may be change= d > from the version which was used for the above code? I assume GPL 2009 use= s > 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? It is clearly an oversight on the above web page. Anh Vo