From: "(see below)" <yaldnif.w@blueyonder.co.uk>
Subject: Re: Synatx error for Hello World Ada program in the web, or did Ada changed?
Date: Wed, 23 Dec 2009 00:18:43 +0000
Date: 2009-12-23T00:18:43+00:00 [thread overview]
Message-ID: <C7571263.12F7F6%yaldnif.w@blueyonder.co.uk> (raw)
In-Reply-To: KrcYm.81441$Zu5.43665@newsfe24.iad
On 22/12/2009 23:16, in article KrcYm.81441$Zu5.43665@newsfe24.iad, "Nasser
M. Abbasi" <nma@12000.org> 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
> procedure hello is
> begin
> put("Hello World");
> end hello
>
>
> Funny thing is that, I got 2 syntax errors. (but GPS is working!)
So is the compiler!
>
> ";" is missing from the end of the first line and the end of the last line.
The code is wrong, and it's not just a matter of missing semicolons.
The rest of the code on that website is almost as bad.
If you want to learn the rudiments of Ada from a website, look at:
<http://en.wikibooks.org/w/index.php?title=Programming:Ada>
--
Bill Findlay
<surname><forename> chez blueyonder.co.uk
next prev parent reply other threads:[~2009-12-23 0:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-22 23:16 Synatx error for Hello World Ada program in the web, or did Ada changed? Nasser M. Abbasi
2009-12-23 0:16 ` Anh Vo
2009-12-23 0:18 ` (see below) [this message]
2009-12-23 1:31 ` Adam Beneschan
2009-12-23 10:17 ` Hibou57 (Yannick Duchêne)
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox