lua-users home
lua-l archive

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



You could use exactly the same loadstring/setfenv trick to load
sc.synthdefsc; then the supplied environment will contain your
assignments after execution, safely outside _G.

Yes. That was my intention and the trick is done in sc.synthdef,
but as I said the problem is:

If I dont do require"sc.synthdefsc" ( which is polluting _G)
then "blabla" is not getting variable=1234. That means that "blabla" cant get it form
env and looks in _G instead.

victor