lua-users home
lua-l archive

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


Maybe first try;

Proto = require(“proto”)

 

Thijs

 

From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On Behalf Of immanuel.beno@gmail.com
Sent: donderdag 11 september 2014 10:49
To: lua-l@lists.lua.org
Subject: Proto api is not working in Lua5.2.3

 

> 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