lua-users home
lua-l archive

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


Hi Choon,

we are developing some lua scripts for customized protocol ..


Regards,
Beno K Immanuel
Chennai, India
Mob: +91 9940791964
Email:
immanuel.beno@gmail.com




On Thu, Sep 11, 2014 at 3:16 PM, Choonster TheMage <choonster.2010@gmail.com> wrote:
On 11 September 2014 18:49, immanuel.beno@gmail.com <immanuel.beno@gmail.com> wrote:
> local proto_foo = Proto("test", "Test Protocol")
stdin:1: attempt to call global 'Proto' (a nil value)
stack traceback:
        stdin:1: in main chunk
        [C]: in ?
>

pls help to fix this issue 

Regards,
Beno K Immanuel
Chennai, India
Mob: +91 9940791964
Email:
immanuel.beno@gmail.com



Where did you get this code from? There's no Proto function included in Lua, so it looks like you're trying to use a library; but you haven't required it anywhere.