--- Alex Peters <[EMAIL PROTECTED]> wrote: > In one of my scripts I have this line: > Vec.Destroy(AliasVector) > > It pulls up this PowerPro error box: > Invalid vector number: v2 > > If, however, I change the above line to an assignment: > AliasVector = Vec.Destroy(AliasVector) > > then there is no error. There is no practical reason to reset the > AliasVector variable though because AliasVector is a local variable > and this line appears at the end of the script.
Why are you trying to destroy 'local' vector, which will be destroyed anyway when exiting? Anyway, the reason of the error might be as follows: When exiting the script, PP tries to clear the local variables, so, it looks for 'AliasVector' which is of the vector number 'v-2', so PP tries to destroy this (local) 'v-2', but cannot find it since it's already destoyed. Well, I think I should admit that this error message had better be suppressed though. Sean ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org 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/
