Another Lua Question
BlitzMax Forums/BlitzMax Programming/Another Lua Question
| ||
Okay. I didn't like the tutorial, but after much gnashing of teeth, I got Lua to work, except for one thing: how do I get it to recognize the "standard" Lua functions such as print()? I can, of course, write replacements myself, but it sure is annoying as heck. |
| ||
Call luaopen_base on your state. |
| ||
Okay, so I didn't even know that a ScriptEngine type even existed until I looked through the mods and read the luascript.mod source. So now I actually know what I am doing. Methinks I will write my own tutorial on BlitzWiki. BTW, I think that a Lua mod is an excellent addition, and I appreciate your work (assuming I'm right in thinking that it's you who wrote it). |
| ||
TommyBear wrote it, I only contributed a few changes. |