Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!apple!lins From: lins@Apple.COM (Chuck Lins) Newsgroups: comp.lang.modula2 Subject: Re: Overloading Operators: Extension to Language Message-ID: <35285@apple.Apple.COM> Date: 4 Oct 89 23:30:18 GMT References: <1922@brazos.Rice.edu> Organization: Apple Computer Inc, Cupertino, CA Lines: 19 >However, I think he's correct not to allow functions to return >structured values. In fact, I think he should modify his >standard parameter passing mechanism to something like: > > PROCEDURE zap(VAR a, b, c: aType; > CON x, y, z: bType); > One can simply return records and arrays by specifying them as VAR parameters. If one really wants to specify usage of a parameter you might as well go to Ada's paramater mode specification of either: in, out, or inout. -- Chuck Lins | "Exit left to funway." Apple Computer, Inc. | Internet: lins@apple.com 20525 Mariani Avenue | AppleLink: LINS Mail Stop 41-K | Cupertino, CA 95014 | "Self-proclaimed Object Oberon Evangelist" I speak for myself and no one else.