Error parsing Lua file.
<div class="IPBDescription">[string "..."]:2: 'end' expected near '<eof></div>I am attempting to execute the following script in my application:
function f(x)
return x * x
end
print(f(3))
Decoda keeps reporting the following error:
[string "..."]:2: 'end' expected near '<eof>'
If I write the function on a single line, it works!
Does anyone know what is going on? I am in the process of evaluating Decoda for my company and would really like to get past this.
Thanks for your help.
BIll
function f(x)
return x * x
end
print(f(3))
Decoda keeps reporting the following error:
[string "..."]:2: 'end' expected near '<eof>'
If I write the function on a single line, it works!
Does anyone know what is going on? I am in the process of evaluating Decoda for my company and would really like to get past this.
Thanks for your help.
BIll
Comments
Error parsing script cl_toolbox.lua in resource menu: cl_toolbox.lua:1447: 'end' expected (to close 'function' at line 29) near <eof>