print "hello from T32 Lua" print("Lua version: ".._VERSION) arg0 = t32io.getInputBuffer(0, 4) arg1 = t32io.getInputBuffer(4, 4) print("ARG 0: ", string.format("0x%X%X%X%X", arg0[4], arg0[3], arg0[2], arg0[1])) print("ARG 1: ", string.format("0x%X%X%X%X", arg1[4], arg1[3], arg1[2], arg1[1])) -- write output results t32io.resetOutputBuffer() t32io.setOutputBuffer({'A','B','C','D'}, 0, 4) t32io.setOutputBuffer({'1','2','3','4'}, 4, 4)