🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #286

Re: Multiple Return Values From Functions (was Re: Language Tenets)

#286
From: Dik T. Winter
Date: Fri, 14 Jul 1989 20:29
13 lines
905 bytes
In article <15141@watdragon.waterloo.edu> dwtill@watyew.waterloo.edu (Dave Till) writes:
 > I think it would be more elegant to allow the returning of multiple
 > values, as in
 > 
 > 	[quotient,remainder] = divrem(top,bottom);
 > 
Change this to:
	[quotient,remainder]:= divrem[top,bottom];
and you have Mesa, Xerocs language.
-- 
dik t. winter, cwi, amsterdam, nederland
INTERNET   : dik@cwi.nl
BITNET/EARN: dik@mcvax
Technical Details
Message-ID: <8271@boring.cwi.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!cs.utexas.edu!uunet!mcvax!dik
References: <1207@quintus.UUCP> <15141@watdragon.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!cs.utexas.edu!uunet!mcvax!dik
From: dik@cwi.nl (Dik T. Winter)
Newsgroups: comp.lang.misc
Subject: Re: Multiple Return Values From Functions (was Re: Language Tenets)
Keywords: multiple-valued expressions, function parameter lists
Message-ID: <8271@boring.cwi.nl>
Date: 14 Jul 89 20:29:21 GMT
References: <1207@quintus.UUCP> <15141@watdragon.waterloo.edu>
Organization: CWI, Amsterdam
Lines: 13