🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #195

Re: Using for ... in with arrays

#195
From: Fred_Goldman
Date: Tue, 31 Mar 2009 16:42
5 lines
898 bytes
You could do this:

for ( var i in array ) {
	$.writeln( array[ Number(i) + 1 ] );
}
Technical Details
Message-ID: <59b87616.4@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossing
References: <59b87616.-1@webcrossing.la2eafNXanI> <59b87616.2@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,709551d954315a95
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Fred_Goldman@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Using for ... in with arrays
Message-ID: <59b87616.4@webcrossing.la2eafNXanI>
Date: Tue, 31 Mar 2009 09:42:56 -0700
References: <59b87616.-1@webcrossing.la2eafNXanI> <59b87616.2@webcrossing.la2eafNXanI>
Lines: 5
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
X-Antivirus: avast! (VPS 090330-0, 03/30/2009), Outbound message
X-Antivirus-Status: Clean
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit