--- In [EMAIL PROTECTED], Alex Peters <[EMAIL PROTECTED]> wrote:
> --- 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.

Have you tried anyway? To put it to an end:
just after "Vec.Grow(Vector,1)"

Vec.Capacity(Vector)==4
Vec.Length(Vector)  ==3



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/
 

Reply via email to