Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!uwvax!oddjob!gargoyle!ihnp4!homxb!genesis!hotlg!anumb!eao
From: eao@anumb.UUCP (e.a.olson)
Newsgroups: comp.lang.fortran,comp.lang.pascal
Subject: Re: Array storage order
Message-ID: <107@anumb.UUCP>
Date: Mon, 6-Jul-87 22:03:33 EDT
Article-I.D.: anumb.107
Posted: Mon Jul  6 22:03:33 1987
Date-Received: Fri, 10-Jul-87 01:07:23 EDT
References: <1215@batcomputer.tn.cornell.edu> <105@anumb.UUCP> <3538@watvlsi.UUCP>
Organization: AT&T Bell Labs, Andover MA
Lines: 15
Xref: mnetor comp.lang.fortran:146 comp.lang.pascal:190

> >> Question: is this array storage order mandated by the Fortran-77 standard?
> >> How about the Pascal standard?   If so, then I'll document the arrays as being
> >> garry wiegand   (garry@oak.cadif.cornell.edu - ARPA)
> >> 		(garry@crnlthry - BITNET)
> >    The order is mandated by the standard.
> >    In fortran, arrays are stored in row-major order.  In 'C'
> >    and Pascal arrays are stored in column-major order.
> 
> NO NO NO... Other way around.  Fortran Columns, Pascal and C are rows.
> Don't worry,  I've had days like that.   In fact,  I've had LIVES like that.
> 

ooh sorry.. no wonder the students always got
that question wrong when i was teaching as a grad student!
now which goes across..???