Path: utzoo!attcan!uunet!zephyr.ens.tek.com!tektronix!nosun!qiclab!m2xenix!puddle!p101.f4.n494.z5.fidonet.org!Pat.Terry From: Pat.Terry@p101.f4.n494.z5.fidonet.org (Pat Terry) Newsgroups: comp.lang.modula2 Subject: Re: Overloading Operators: Extension to Language Message-ID: <50.252CF8A1@puddle.fidonet.org> Date: 6 Oct 89 05:35:55 GMT Sender: ufgate@puddle.fidonet.org (newsout1.26) Organization: FidoNet node 5:494/4.101 - Settler City Fido, Grahamstown RSA Lines: 23 In Message-ID: <"89-10-03-22:05:28.25*UI0T"@DKAUNI2.BITNET> Koenig writes > How about an extension to the language which would allow functions to > return not only predefined types such as integers, reals and so on but > also records and arrays? That's supposed to be in already. Certainly will be in the ISO standard. Some compilres have always had it, others not - usual reason, PIM-2 doesn't discuss it, without saying that records and arrays are wrong either. > TYPE COMPLEX= RECORD RE,IM:REAL END; But if you're proposing an extension, why not propose a proper COMPLEX? -- ----- uucp: { uunet!tektronix | sun!nosun }!qiclab!m2xenix!puddle!5!494!4.101!Pat.Terry Internet: Pat.Terry@p101.f4.n494.z5.fidonet.org