I'm trying to learn lua and how lua can be used with C#. So I've created a lua script in which I declared a string variable called "x":
local x = "String variable"
Then I've tried to load the string from the c# program like this:
LuaFunction vsa = lua.LoadString("x", "root.lua");
When I try to compile I receive this error:
[string "root.lua"]:1: '=' expected near '<eof>'