lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello,

I am trying do something like this:

j = 'one'
k = j
j = 'one+'
k == 'one+'

but what I get is

k == 'one'

Is there any way for k to get j's value by reference j instead of getting its value copied?

If this is an FAQ my apologies. I tried to find info in the Manual and PIL2 but failed to find anything.

Any help greatly appreciated.

Jimmie