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,9245b8db9abd376c X-Google-Attributes: gid103376,public X-Google-Thread: 11232c,bde6489d2ec79329 X-Google-Attributes: gid11232c,public X-Google-ArrivalTime: 2002-04-19 10:39:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!151.189.0.75!newsfeed.arcor-online.net!news.belwue.de!cert.uni-stuttgart.de!news.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada,misc.misc Subject: Re: Out parameters in a function Followup-To: comp.lang.ada Date: Fri, 19 Apr 2002 19:39:31 +0200 Organization: Enyo -- not your organization Message-ID: <87znzzfuzw.fsf@deneb.enyo.de> References: <3cbbe583.3628858@news.demon.co.uk> <3cbc3f05.26543327@news.demon.co.uk> <3CBC855D.148232E3@san.rr.com> <9728d398ea882f2a2d44e362db453fe9.48257@mygate.mailgate.org> NNTP-Posting-Host: deneb.enyo.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: cygnus.enyo.de 1019237978 14531 212.9.189.171 (19 Apr 2002 17:39:38 GMT) X-Complaints-To: abuse@enyo.de NNTP-Posting-Date: 19 Apr 2002 17:39:38 GMT Cancel-Lock: sha1:bXvRpCpIuIMgLxV7guPGzwZ4enY= Xref: archiver1.google.com comp.lang.ada:22789 misc.misc:6684 Date: 2002-04-19T17:39:38+00:00 List-Id: "Kent Paul Dolan" writes: > "Darren New" wrote: > >> > > RESULT high, low >> > h, l := split.int16 (365) > >> Note that in virtually all these languages, what this means is "return >> an anonymous tuple from the function." AFAIK, FORTH is the only >> reasonably common language where you can *actually* return multiple >> values from a function, rather than returning a single structured value. > > Ummm. APL, PL/PGSQL, CLAIRE, ML (and so OCaml, JoCaml), ... And Common Lisp.