Hi.
--- In [EMAIL PROTECTED], "swzoh" <[EMAIL PROTECTED]> wrote:
> Maybe you missed the previous posts or my point.
> My conclusion here was what 'vec.localcopy(v)' does is just,
> sort of, 'case("sentence",v)', and nothing more.

It does a bit more, I think...;-) It just happens that the vector 
number you get is "V-n" instead of "v-n".

> Forgive me if I misunderstood you here.
> There is no such thing as a 'localcopy' vector, IMHO.
> There is only one, 'main', vector. The 'localcopy' merely
> shares the vector with 'main', or more precisely maybe,
> simply resorts to the 'main' vector.
> Of course this is just my opinion.

Yes, you're absolutely right. My explanation was bad. The localcopy 
simply refers to the same vector/map. So I have a temporary reference 
to that vector that will be destroyed after the script ends (the 
reference, not the vector).
In my script I have several static maps holding vectors (sort of two-
dimensional arrays). I call a script with each one of the maps as an 
arg and work on the localcopy of that map, which will also change the 
original map/vector.

Mockey






------------------------ 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/
 



Reply via email to