Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ll-xn!nike!oliveb!glacier!navajo!ali From: ali@navajo.STANFORD.EDU (Ali Ozer) Newsgroups: net.lang.pascal Subject: Re: Interactive I/O in Pascal Message-ID: <773@navajo.STANFORD.EDU> Date: Sun, 3-Aug-86 21:58:06 EDT Article-I.D.: navajo.773 Posted: Sun Aug 3 21:58:06 1986 Date-Received: Mon, 4-Aug-86 07:14:46 EDT References: <2222@brl-smoke.ARPA> <7014@boring.mcvax.UUCP> Reply-To: ali@navajo.UUCP (Ali Ozer) Organization: Stanford University Lines: 13 Keywords: Pascal, conformant arrays In article <563@watmum.UUCP> gvcormack@watmum.UUCP (Gordon V. Cormack) writes: >...Just for starters, you can't (in Wirth's Pascal, anyway) even write >a procedure that takes a quoted string as a parameter, unless its >length is hard coded... True, but thanks to conformant arrays, you can do stuff like: procedure Foo (str: packed array [lo..hi: integer] of char); Then calls to Foo with packed arrays of any length are legal. And conformant arrays are part of the Pascal standard now, aren't they? Ali, ali@su-score.arpa, ali@navajo