lua-users home
lua-l archive

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




env = {}
chunk = loadstring('sc.synthdef.lua')  -- compile
setfenv(chunk,env)  -- set environment
chunk()  -- execute


This is exactly what I did (before using the needed require) and I get a complain
from "blabla" about variable not being defined

victor