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


Groups > comp.lang.javascript > #11909

Re: What's wrong with Multidimensional Array?

From Dominik <dom@email.si>
Newsgroups comp.lang.javascript
Subject Re: What's wrong with Multidimensional Array?
Date 2012-02-19 14:24 +0100
Organization T-Com
Message-ID <ppt1k75c9k5dm0qiig326p665q5e4h4a8d@4ax.com> (permalink)
References <etm1k7908go9neq3av7q15q02isok97rmv@4ax.com> <McadncRdns_8f93SnZ2dnUVZ8nqdnZ2d@giganews.com> <irp1k7puv7pgmuhuuhnpovq6dolg7pubea@4ax.com> <Jf6dnTUQg6WFa93SnZ2dnUVZ8vSdnZ2d@giganews.com>

Show all headers | View raw


On Sun, 19 Feb 2012 14:16:08 +0100, Stefan Weiss <krewecherl@gmail.com>
wrote:

>On 2012-02-19 13:32, Dominik wrote:
>> But I'm curius, is it possible to create empty multidimensional array in
>> advance?
>
>Well, strictly speaking there's no such thing as a multidimensional
>array in JS. There are only arrays of arrays. The two are often used in
>a similar way, but there are differences. One of them is that there's no
>way to initialize the child arrays with a simple statement*.

Thank you very much for your help. :-)

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


Thread

What's wrong with Multidimensional Array? Dominik <dom@email.si> - 2012-02-19 12:37 +0100
  Re: What's wrong with Multidimensional Array? Stefan Weiss <krewecherl@gmail.com> - 2012-02-19 12:52 +0100
    Re: What's wrong with Multidimensional Array? Dominik <dom@email.si> - 2012-02-19 13:32 +0100
      Re: What's wrong with Multidimensional Array? Stefan Weiss <krewecherl@gmail.com> - 2012-02-19 14:16 +0100
        Re: What's wrong with Multidimensional Array? Dominik <dom@email.si> - 2012-02-19 14:24 +0100
        Re: What's wrong with Multidimensional Array? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-20 13:49 +0100
          Re: What's wrong with Multidimensional Array? "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-02-20 14:10 +0000
            Re: What's wrong with Multidimensional Array? Scott Sauyet <scott.sauyet@gmail.com> - 2012-02-20 13:31 -0800
      Re: What's wrong with Multidimensional Array? Dr J R Stockton <reply1208@merlyn.demon.co.uk> - 2012-02-20 20:38 +0000

csiph-web