RE: Error on length
Try use
for(i=0;i<Breaks.length;i++)
instead of
for(i=0;i<=Breaks.length;i++)
, as there's no Breaks[Breaks.length] (see, there's Break[0] to Break[Breaks.length-1], totaling to Breaks.length items);
This post was edited on 07-16-2008 at 03:29 PM by Mnjul.
|