|
As you can see below, I'm trying to use strsub(string, i) in a little program that is an attempt at building a very simple vm on top of Lua 5.3:.This is the output that I get:j10 m20
false is not equal to 'true.'
m20 false
push30 m30 executed.
x35 print.lua
j40 m50
true is equal to 'true.'
lua53: main.lua:34: attempt to call a nil value (local 'strsub')
stack traceback:
main.lua:34: in main chunk
[C]: in ?