lua-users home
lua-l archive

Re: upgrade problem - global variables

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


> A simple script doing a setglobals(0, table) call gives an error "cannot
> change global table of given function." Embedding this call inside another
> function gives the same error. Am I doing something wrong or is this not
> (yet) supported?
The "get" (which was the subject of your trick) already works in beta,
but "set" is new to the final version.
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /