I believe the thing to do then would be the following to get all of the values from unpack
myTable = { {unpack( myTable )}, ... }
and as for only changing the local pointer... I myself normally use one table with all my addon values within it so I can access it using something like:
myTable["Key"]
I pass whatever function needs it as the table and the key as a string
that allows me to access the table in functions and not a local copy... you could also do close to the same if the table is in the global namespace:
_G["MyVariable"]
just pass the table as a string
|