lua-users home
lua-l archive

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


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