Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ucsfcca.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!ucbvax!ucsfcgl!ucsfcca!dick From: dick@ucsfcca.UUCP (Dick Karpinski) Newsgroups: net.lang.mod2 Subject: Re: structured function values Message-ID: <416@ucsfcca.UUCP> Date: Mon, 14-Oct-85 21:40:01 EDT Article-I.D.: ucsfcca.416 Posted: Mon Oct 14 21:40:01 1985 Date-Received: Thu, 17-Oct-85 00:40:34 EDT References: <53@noscvax.UUCP> Reply-To: dick@ucsfcca.UUCP (Dick Karpinski) Distribution: net Organization: UCSF Computer Center Lines: 26 In article <53@noscvax.UUCP> broman@noscvax.UUCP (Vincent P. Broman) writes: > Modula-2's restriction of function procedure results to be of >unstructured types seems to have no solid justification. Many implementations Modula-2 does not restrict function results. Some implementations do but Wirth allowed that those were indeed implementation restrictions. The British Standards Institution is midway into producing a candidate for ISO standardization, and they allow functions to return anything. I don't know why you should not be able to dereference or subscript function results, but neither the Report nor the developing standard permit that. Incidentally, I am acting as the US distributer for BSI documents on Modula-2. Write for details. Mostly, documents are available for about 10 cents per page. i would be anxious to discover any way to do low volume demand publishing from paper masters for less. Also want to find access to OCR in order to make machine readable without rekeying 50 page documents. Dick -- Dick Karpinski Manager of Unix Services, UCSF Computer Center UUCP: ...!ucbvax!ucsfcgl!cca.ucsf!dick (415) 666-4529 (12-7) BITNET: dick@ucsfcca Compuserve: 70215,1277 Telemail: RKarpinski USPS: U-76 UCSF, San Francisco, CA 94143