--- swzoh wrote: > Why did you put "-1" in there? Then, try: > Vector[3]="Line 4"
The vector starts out with three elements: Vector[0]; Vector[1]; Vector[2] After growing it, it should contain four elements, and so Vec.Length(Vector) should equal to 4. If the vector contains four elements, the last element will be at Vector[3], which is why I subtract 1 from Vec.Length; if I tried to write to Vector[4] then I would receive an error. Cheers, Alex ICQ# 37414292 ------------------------ Yahoo! Groups Sponsor ---------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM ---------------------------------------------------------------------~-> **** EDIT YOUR POSTINGS !!!! **** Please remove as much as possible from original messages before replying to them. ________________________________________________ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
