function luadostring(sLua) pcall(function(s) return loadstring(s)(); end, sLua); end --function lua_dostring(...) -- Debug.ShowWindow(true); -- local b, r = pcall(function(...) -- return loadstring(arg[1])(); -- end, ...); -- local st = (b==true) and (r~= nil) and "Result: "..r or (b==false) and "Error: "..r or ""; -- if st ~= "" then -- Debug.Print(st.."\r\n"); -- end --end