lua-users home
lua-l archive

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


>function Matrix:delete()
>   self = nil
>end

despite the appeareances, this does not set the value of the caller object to
nil: it only sets the value of the local variable 'self' to nil.
this variable is an ordinary local variable (except that it's implicit),
which is initialized to the value of the caller object.
--lhf