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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ad988eb0a9545c86 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-13 17:28:02 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed.icl.net!diablo.netcom.net.uk!netcom.net.uk!not-for-mail From: "Ayende Rahien" Newsgroups: comp.lang.ada Subject: Re: Problem trying to implement generics. Date: Sat, 14 Apr 2001 03:12:14 +0200 Organization: (Posted via) GTS Netcom - Public USENET Service http://pubnews.netcom.net.uk Sender: ayende@softhome.net Message-ID: <9b85fj$25r$1@taliesin.netcom.net.uk> References: <9b46dr$cd8$1@taliesin.netcom.net.uk> <9b6jtu$4is$2@taliesin.netcom.net.uk> <9b6m27$68e$1@taliesin.netcom.net.uk> <0JBB6.10484$FD1.1197250@news6-win.server.ntlworld.com> <9b7tce$laf$2@taliesin.netcom.net.uk> NNTP-Posting-Host: diup-180-204.inter.net.il X-Trace: taliesin.netcom.net.uk 987207988 2235 213.8.180.204 (14 Apr 2001 00:26:28 GMT) X-Complaints-To: abuse@corp.netcom.net.uk NNTP-Posting-Date: Sat, 14 Apr 2001 00:26:28 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.60.2296.0000 X-MimeOLE: Produced By Microsoft MimeOLE V5.60.2296.0000 Xref: supernews.google.com comp.lang.ada:6884 Date: 2001-04-14T03:12:14+02:00 List-Id: "Brian Rogoff" wrote in message news:Pine.BSF.4.21.0104131658480.17102-100000@shell5.ba.best.com... > On Fri, 13 Apr 2001, Robert A Duff wrote: > > "Ayende Rahien" writes: > > > > > BTW, is there any reason why I can't use out parameter with a function? > > > > Because it's not allowed. ;-) > > > > Hmm, are we going have this argument again? Oh well, it's kind of fun, > > in a time-wasting sort of way. Here goes: > > > > If I ran the circus, functions would be allowed to have 'out' and 'in > > out' parameters. > > Or, would you just allow procedures to return values? ;-) No, but I would like to have a function that I can place in an if (etc) that change the variables I gives it. It's not a big deal, I was just wondering what was the reason for this decistion.