View Single Post
 
Old January 13th, 2004, 04:22 PM
nikolai nikolai is offline
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Since you're only seeing the error once, I would guess that you're iterating your loop one too many times. If your last index is 1292, then the last *starting* point should be at index 1291, since that line's other endpoint is stored in index 1292.

Make sense?


Take care,

Nik
http://www.bigaction.org/