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.4 required=5.0 tests=BAYES_00,SUBJ_ALL_CAPS
autolearn=no autolearn_force=no version=3.4.4
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103376,81080984e3a87d27
X-Google-Attributes: gid103376,public
X-Google-ArrivalTime: 2001-02-22 09:52:54 PST
Path:
supernews.google.com!sn-xit-03!supernews.com!freenix!wanadoo.fr!not-for-mail
From: Pascal Obry
Newsgroups: comp.lang.ada
Subject: Re: HOW TO FIX THIS IN ADA?
Date: 22 Feb 2001 18:48:11 +0100
Organization: Home - http://perso.wanadoo.fr/pascal.obry
Message-ID:
References: <6Izk6.161065$Pm2.3005370@news20.bellglobal.com>
<3A949947.52E9B5F4@ix.netcom.com>
NNTP-Posting-Host: mix-velizy-106-3-118.abo.wanadoo.fr
X-Trace: wanadoo.fr 982864133 2725 193.249.122.118 (22 Feb 2001 17:48:53 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 22 Feb 2001 17:48:53 GMT
X-Newsreader: Gnus v5.7/Emacs 20.7
Xref: supernews.google.com comp.lang.ada:5443
Date: 2001-02-22T17:48:53+00:00
List-Id:
Lao Xiao Hai 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"