Path: 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 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