i refer from http://www.purebasic.fr/english/viewtop ... a&start=15
where i could find the includes for lua5.1
however when i try the example with the custom average function it returns 0.0 in both return values
anyone know how to solve this?
ps: is there any static lib of lua51 to avoid dll?
lua library
a static lib can you found here
http://luaforge.net/frs/download.php/22 ... w3_lib.zip
with ugly include
www.edel.basicguru.net/libs/pb_lua.7z
http://luaforge.net/frs/download.php/22 ... w3_lib.zip
with ugly include
www.edel.basicguru.net/libs/pb_lua.7z
-
- Enthusiast
- Posts: 142
- Joined: Mon Sep 17, 2007 10:28 am
- Location: P.O.P
- Contact:
Re: lua library
Anyone knows how to solve this?jorgejones wrote:i refer from http://www.purebasic.fr/english/viewtop ... a&start=15
where i could find the includes for lua5.1
however when i try the example with the custom average function it returns 0.0 in both return values
Code: Select all
ureBasic: Registering function 'average' to LUA...
ureBasic: Execute LUA file 'average.lua'...
LUA: Calling registered PureBasic function 'average'
LUA: Passing the return values back to PureBasic
ureBasic: Got back the value #1 (sum of arguments) from LUA : -1.#IND00
ureBasic: Got back the value #2 (average of arguments) from LUA: -1.#IND00
POiNT.OF.PRESENCE group
-
- Enthusiast
- Posts: 142
- Joined: Mon Sep 17, 2007 10:28 am
- Location: P.O.P
- Contact: