Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 beta 3/9/83; site ukma.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!ihnp4!cbosgd!mddc!qusavx!ukma!david From: david@ukma.UUCP (David Herron) Newsgroups: net.lang.c Subject: Re: C subscripts Message-ID: <269@ukma.UUCP> Date: Wed, 7-Nov-84 15:16:27 EST Article-I.D.: ukma.269 Posted: Wed Nov 7 15:16:27 1984 Date-Received: Tue, 13-Nov-84 06:24:23 EST References: , <202@oliveb.UUCP> Organization: Univ. of KY Mathematical Sciences Lines: 36 > Summary: The logic of C's subscripting syntax > > @ Who else out there thinks that > @ some_array_name[more][long][names] > @ is actually a good way to do things? > > I do! I prefer to think of multi-dimensional arrays as arrays of arrays, > which the current syntax implies, rather than as different entities. It > should be easy enough to write a program to convert between notations, though. > -- > -- Dave Long -- > {fortune,idi,ios,hplabs,tymix}!oliveb!toml > {allegra,ihnp4,msoft,tty3b,uvacs}!oliveb!toml > > I agree too! It is probably easier to learn as it reflects what is actually happening. (The other notation looks like a function call). ----------------------------------------- David Herron Phone: (606) 257-4244 (work, phone will usually be answered as "Vax Lab"). (606) 254-7820 Arpa-Net-----\ \ (or cbosgd!hasmed!qusavx!ukma!david) unmvax----\ \ research \____\____ anlams!ukma!david boulder / / ucbvax----/ / / decvax!ucbvax--/ For arpa-net, anlams has the name ANL-MCS. I have been having trouble getting mail from arpa-net through anlams so maybe try a different route or the user name "s".