Posted 19 February 2016 - 09:06 PM
So I'm doing a thing with LuaJ.
I'm trying to get it to load a bios file, which it seems to successfully read
But when I call it (the value returned by load string)…
The file I'm trying to load looks like this:
I'm trying to get it to load a bios file, which it seems to successfully read
But when I call it (the value returned by load string)…
program.call() //program is the value that loadstring returned
I get this:
org.luaj.vm2.LuaError: bios.lua:1: attempt to call function
WHAT?The file I'm trying to load looks like this:
native_write(10,10,orange,white,"test")
native_write is a function that I've implemented in JavaEdited on 19 February 2016 - 08:18 PM