comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: HOW TO FIX THIS IN ADA?
Date: 22 Feb 2001 18:48:11 +0100
Date: 2001-02-22T17:48:53+00:00	[thread overview]
Message-ID: <ug0h6623o.fsf@wanadoo.fr> (raw)
In-Reply-To: 3A949947.52E9B5F4@ix.netcom.com


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.

	Unif := ...;

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"



  reply	other threads:[~2001-02-22 17:48 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 [this message]
2001-02-23  3:22     ` Lao Xiao Hai
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