02-13-2007 07:20 PM
02-13-2007 11:33 PM
02-13-2007 11:43 PM
02-14-2007 12:35 AM
02-14-2007 02:15 PM
02-14-2007 03:32 PM
02-14-2007 06:09 PM - edited 02-14-2007 06:09 PM

Message Edited by altenbach on 02-14-2007 04:10 PM
02-14-2007 07:00 PM
Altenbach
thank you very much about your suggestions and effort...i didnt expect anyone to bother going through the post again after it was basically answered....although my arrays never have zeroes at the beginning or end , you were absolutely correct about it and its good to have that in mind.
regards
madgreek
02-14-2007 07:34 PM
Here's a quick explanation how my code works
makes sense?
(There are many variations that might be even faster. For example you could do an "=0" to create a boolean array, then alternately seach for TRUE and FALSE, to get the segment boudary indices directly. Right now we are traversing the dead spots in first gear, one element at a time. ;))
02-14-2007 08:01 PM