comp.lang.ada
 help / color / mirror / Atom feed
From: Lao Xiao Hai <laoxhai@ix.netcom.com>
Subject: Re: HOW TO FIX THIS IN ADA?
Date: Thu, 22 Feb 2001 19:22:57 -0800
Date: 2001-02-23T03:25:17+00:00	[thread overview]
Message-ID: <3A95D791.98C7EB97@ix.netcom.com> (raw)
In-Reply-To: ug0h6623o.fsf@wanadoo.fr



Pascal Obry wrote:

> Lao Xiao Hai <laoxhai@ix.netcom.com> writes:
>
> > Well, on first glance at this code, it is clear it will never compile.
> > Unless
> > I am not reading it correctly, there is a missing return statement in
> > the function.
>
> No, in Pascal you just assign a value to the function.

Correct.  I did not read the code carefully enough to notice that it was
not really Ada.    All I did was scan quickly for the return statement.
OTOH, closer look at this makes the whole question more bewildering
than when I was doing a cursory look.

Richard Riehle




  reply	other threads:[~2001-02-23  3:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-20 19:37 HOW TO FIX THIS IN ADA? Munir Albeelbisi
2001-02-20 20:37 ` Pascal Obry
2001-02-20 20:38 ` How to write this in Ada, was " tmoran
2001-02-21  8:56 ` Martin Dowie
2001-02-22  4:44 ` Lao Xiao Hai
2001-02-22 17:48   ` Pascal Obry
2001-02-23  3:22     ` Lao Xiao Hai [this message]
2001-02-23  4:08     ` Jeffrey Carter
2001-02-23 17:18       ` Pascal Obry
2001-02-24  4:40         ` Jeffrey Carter
2001-02-24  9:22           ` Pascal Obry
2001-02-22  7:17 ` tmoran
2001-02-22 16:43   ` Al Christians
2001-02-23  2:21 ` William J. Thomas
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox