Basically, Pointers don't mean much in Lua, unless you are dealing with the 'Function' , 'Table' , or 'Connection' types, in which case they have members and data, but they have their own value otherwise....
a = {5,3,2}
b = a --a's pointer, you can use b to access a because it has ram allocated specifically for a single one..
b[1] = 2
That works, because b changes a...
But you really only use it usefully on tables. |