🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17766

Re: Assert error in InDesign when running script

#17766
From: Shane Stanley
Date: Wed, 14 May 2003 22:36
15 lines
1392 bytes
in article 1de92180.-1@WebX.la2eafNXanI, John Darnell wrote:

> repeat with i in TextFlowList

<snip>

> set next text frame of TFFrame of item i to TempFrameHolder

You're not using i as a counter, so "item" shouldn't be used in this line.

FWIW, I think i is a bad choice of variable to use in a "repeat with ...
in..." construct, for precisely this reason.

-- 
Shane Stanley,  sstanley@myriad-com.com.au
Technical Details
Message-ID: <BAE9020D.59D57%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news-out.visi.com!hermes.visi.com!newshosting.com!news-xfer2.atl.newshosting.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de92180.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,90560ac96d9691c2
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-14 15:38:07 PST
From: Shane Stanley <sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news-out.visi.com!hermes.visi.com!newshosting.com!news-xfer2.atl.newshosting.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Assert error in InDesign when running script
Message-ID: <BAE9020D.59D57%sstanley@myriad-com.com.au>
Date: Wed, 14 May 2003 15:36:29 -0700
References: <1de92180.-1@WebX.la2eafNXanI>
Lines: 18
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit