--- Alex Peters <[EMAIL PROTECTED]> wrote:
> --- swzoh wrote:
>
> > Try this after Vec.Grow(Vector,1): (not tested)
> > Vector[Vec.Length(Vector)]="Grown"
>
> Here's what I tried:
>
> Local Lines = "Line 1'r'nLine 2'r'nLine 3"
> Local Vector = Vec.CreateFromLines(Lines)
> Win.Debug("Vector length after creation:", Vec.Length(Vector))
> Vec.Grow(Vector, 1)
> Vector[Vec.Length(Vector) - 1] = "Line 4"
> Win.Debug("After growing by 1:", Vec.Length(Vector), "(should be 4)")
> Vector = Vec.Destroy(Vector)
>
> This still resulted in the same debug output:
> ; Vector length after creation: 3
> ; After growing by 1: 3(should be 4)
Why did you put "-1" in there? Then, try:
Vector[3]="Line 4"
**** 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/