lua-users home
lua-l archive

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


Dear All,

Any inputs on this is greatly appreciated...Please do let me know.

Regards
Santosh


On Saturday, 28 March 2015 1:05 AM, Santosh Kadam <sanmanik@yahoo.com> wrote:


Dear all,

I am writing a lua script based app where I create lua scripts and call them from the C programs as required. I load the script into a char buffer and do a     luaL_loadstring(L,scrBuff);.

I am getting the following error.

LUA ERROR: [[string "--[[ Test: Op..."]:140: syntax error near 'TST_OnCa']


Any idea - why is this load string failing ?

Thanks and regards
Santosh.


Attachment: Test.lua
Description: Binary data