Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #8614

Re: Create a multi-dimensional array

From "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Newsgroups comp.lang.javascript
Subject Re: Create a multi-dimensional array
Date 2011-11-25 01:53 +0200
Organization A noiseless patient Spider
Message-ID <jamlek$sk5$1@dont-email.me> (permalink)
References <1c993ed8-05a6-43b4-a28f-e9b0ad1c6241@c16g2000pre.googlegroups.com> <jaim56$151$1@dont-email.me> <y6YD3kFVApzOFwPL@invalid.uk.co.demon.merlyn.invalid>

Show all headers | View raw


2011-11-24 20:42, Dr J R Stockton wrote:

>> The value of a4 is an array, where the elements are arrays. Calling it
>> a two-dimensional array probably confuses rather than helps.
>
> It will help if the reader is accustomed to languages which support
> multi-dimensional arrays,

Sounds like confusion. Do you really wish to promote such ideas?

>> The notation [3][5] is not meaningful as such.
>
> The author meant to say that it is pseudocode.  It's certainly
> meaningful in some dialects of pseudocode.

Nonsense does not become any more meaningful by someone's calling it 
"pseudocode".

> Provided that one recalls that a5 must be an array (maybe empty) before
> the first of those assignments, and that a5[1] must be an array (maybe
> empty) before the second of those assignments.

Are you trying to make a point, or just noise?

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Create a multi-dimensional array Archos <raul.san@sent.com> - 2011-11-23 03:04 -0800
  Re: Create a multi-dimensional array "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2011-11-23 13:41 +0200
    Re: Create a multi-dimensional array John G Harris <john@nospam.demon.co.uk> - 2011-11-23 16:41 +0000
    Re: Create a multi-dimensional array Dr J R Stockton <reply1147@merlyn.demon.co.uk> - 2011-11-24 18:42 +0000
      Re: Create a multi-dimensional array "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2011-11-25 01:53 +0200
        Re: Create a multi-dimensional array Gene Wirchenko <genew@ocis.net> - 2011-11-24 17:15 -0800
  Re: Create a multi-dimensional array Erwin Moller <Since_humans_read_this_I_am_spammed_too_much@spamyourself.com> - 2011-11-23 12:46 +0100
    Re: Create a multi-dimensional array Archos <raul.san@sent.com> - 2011-11-23 06:11 -0800
  Re: Create a multi-dimensional array Denis McMahon <denismfmcmahon@gmail.com> - 2011-11-23 18:34 +0000
    Re: Create a multi-dimensional array Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-23 21:33 +0100

csiph-web