Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!mcvax!dik
From: dik@cwi.nl (Dik T. Winter)
Newsgroups: comp.lang.fortran,comp.lang.pascal
Subject: Re: Array storage order
Message-ID: <356@zuring.cwi.nl>
Date: Sun, 5-Jul-87 19:11:15 EDT
Article-I.D.: zuring.356
Posted: Sun Jul  5 19:11:15 1987
Date-Received: Mon, 6-Jul-87 07:00:56 EDT
References: <1615@batcomputer.tn.cornell.edu>
Reply-To: dik@zuring.UUCP (Dik T. Winter)
Organization: CWI, Amsterdam
Lines: 18
Xref: mnetor comp.lang.fortran:144 comp.lang.pascal:185

In article <1615@batcomputer.tn.cornell.edu> garry@oak.cadif.cornell.edu writes:
 > Apologies for not getting back sooner; I've been off the net. The
 > consensus of replies to my array-storage question were:
 > 
 >   Pascal:  It's not visible in the (standard) language, and the standard does
 >            not mandate anything. It is "generally" implemented as row-major.
 > 
 >   Ada:     It is visible in the language, but the standard neglects to mandate
 >            anything.
 > 
I disagree, the situation in Ada is similar to the situation in Pascal,
although the hints to use row major order are stronger in Pascal
(a: array [1..5,1..7] of integer;  is equivalent to
 a: array [1..5] of array [1..7] of integer;  in Pascal).
-- 
dik t. winter, cwi, amsterdam, nederland
INTERNET   : dik@cwi.nl
BITNET/EARN: dik@mcvax