我试用了 ZeroBraneStudio 附带的一些示例。
spirograph-samples
工作正常。可能在and的wait()
末尾还应该有一个声明。否则图形窗口在执行结束时消失。因为
我得到一个错误:livecoding-samples
fractal-samples
fractal-samples: zplane.lua
Zoom: {1}
Cent: {0,0}
Area: {-2,2,-2,2}
/Applications/ZeroBraneStudio.app/Contents/ZeroBraneStudio/bin/lua.app
/Contents/MacOS/lua: ./fractal.lua:123: attempt to index local 'C' (a nil value)
stack traceback:
./fractal.lua:123: in function 'Draw'
..ts/ZeroBraneStudio/myprograms/fractal-samples/zplane.lua:103: in main chunk
[C]: at 0x00001c80