run LUA script

BlitzMax Forums/BlitzMax Programming/run LUA script

MrCredo(Posted 2007) [#1]
hm... is here someone with more lua experience?

i have a bank with lua-code and want to run it... i plan also get/set functions to get/set string values (call blitzmax functions from lua-script)

i updated all modules (incl. axe) - but here is no lua_open-function...

can someone give me a working blitzmax-sample - with registered function that get/set a string value....


MrCredo(Posted 2007) [#2]
ah... i found luaL_newstate() - that do the same what lua_open do. but more help needed


Rozek(Posted 2007) [#3]
MrCredo,

use the search functoin and look for "lua" (use the "advanced" search) and you'll find a number of postings dealing with that topic.

E.g., the thread http://www.blitzbasic.com/Community/posts.php?topic=63067#771572 contains a brief "tutorial" which might help you.