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


Groups > comp.lang.javascript > #25959

Re: JS Array problem

From "Mel Smith" <syntel@cox.net>
Newsgroups comp.lang.javascript
Subject Re: JS Array problem
Date 2014-10-21 08:33 -0600
Message-ID <can95rFbqnlU1@mid.individual.net> (permalink)
References <calc4vFrm5iU1@mid.individual.net> <m2424p$mdn$1@dont-email.me>

Show all headers | View raw


"Denis McMahon" <denismfmcmahon@gmail.com> wrote in message 
news:m2424p$mdn$1@dont-email.me...
> On Mon, 20 Oct 2014 15:11:45 -0600, Mel Smith wrote:
>
>> var abcd = [a,b,c,d] ;
>
> This creates an array that contains the values of the 4 variables a, b, c
> and d. It does not create a connection between the array members and the
> original variables such that editing the array values will change the
> variables.
>
> Why do you need the four values to be addressable as a,b,c,d as well as
> abcd[n]?
>

In my 'real' app, there are consistency probs where those vrbls and many 
others are built and returned to the server under those vrbl names a few 
lines below that 'collection area'.

Thanks, and please not my reply to myself

-Mel

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


Thread

JS Array problem "Mel Smith" <syntel@cox.net> - 2014-10-20 15:11 -0600
  Re: JS Array problem Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-20 22:25 +0000
    Re: JS Array problem "Mel Smith" <syntel@cox.net> - 2014-10-21 08:33 -0600
  Re: JS Array problem danca <cyberdanny@tiscalinet.it> - 2014-10-21 09:08 +0200
    Re: JS Array problem Une Bévue <unbewusst.sein@fai.invalid> - 2014-10-21 09:42 +0200
      Re: JS Array problem "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-10-21 09:47 +0200
        Re: JS Array problem Une Bévue <unbewusst.sein@fai.invalid> - 2014-10-21 09:51 +0200
          Re: JS Array problem "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-10-21 09:53 +0200
        Re: JS Array problem Une Bévue <unbewusst.sein@fai.invalid> - 2014-10-21 09:52 +0200
          Re: JS Array problem "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-10-21 10:36 +0200
      Re: JS Array problem "Mel Smith" <syntel@cox.net> - 2014-10-21 08:36 -0600
    Re: JS Array problem "Mel Smith" <syntel@cox.net> - 2014-10-21 08:35 -0600
      Re: JS Array problem Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-21 19:02 +0200
  Re: JS Array problem "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-10-21 13:12 +0200
    Re: JS Array problem "Mel Smith" <syntel@cox.net> - 2014-10-21 08:38 -0600
  Re: JS Array problem "Mel Smith" <syntel@cox.net> - 2014-10-21 08:29 -0600
    My 'actual' code "Mel Smith" <syntel@cox.net> - 2014-10-21 11:20 -0600
      Re: My 'actual' code Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-10-21 19:52 +0100
        Re: My 'actual' code Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-10-21 21:23 +0200
  Re: JS Array problem Violet Deng <dengviolet@gmail.com> - 2014-10-28 02:03 -0700
    Re: JS Array problem "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-10-28 10:08 +0100

csiph-web