Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 exptools 1/6/84; site ihuxv.UUCP
Path: utzoo!watmath!clyde!floyd!harpo!ihnp4!ihuxv!timborn
From: timborn@ihuxv.UUCP (-)
Newsgroups: net.micro
Subject: Re: Turbo Pascal bug
Message-ID: <676@ihuxv.UUCP>
Date: Thu, 8-Mar-84 09:14:37 EST
Article-I.D.: ihuxv.676
Posted: Thu Mar  8 09:14:37 1984
Date-Received: Fri, 9-Mar-84 01:47:36 EST
References: <347@noscvax.UUCP>
Organization: AT&T Bell Labs, Naperville, IL
Lines: 22


	.
	.
	.
type 	
	s = array[1..n] of char;
var
	a : array[1..m] of s;
	.
	.
	.
writeln('This is garbage ',a[1]);

=======
Why is it surprising to get garbage when you try to print out a two dimensioned
array using only one subscript?  The surprising thing to me is that the 
compiler let you get that far.  Array a is equivalent to
var a : array[1..m,1..n] of char;

tdb