Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Mel Smith" Newsgroups: comp.lang.javascript Subject: Re: JS Array problem Date: Tue, 21 Oct 2014 08:33:10 -0600 Lines: 25 Message-ID: References: X-Trace: individual.net GHVBRy+NRgJ7VORJaQxFfgKtd4IgZMLnM01fRvRNdZUPu1XBzM Cancel-Lock: sha1:GpTotqv6/wjyhtmdyKYaL5SBiy4= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Xref: csiph.com comp.lang.javascript:25959 "Denis McMahon" 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