-- dofile_main dofile_main.lua
dofile("dofile_sub.lua")while not Keys.newPress.Start do
Controls.read()
startDrawing()
test = readTest()
screen.print(SCREEN_DOWN,0,10*8, test)
screen.print(SCREEN_UP,0,10*8,"Press START to quit")
stopDrawing()end
dofile_sub.lua
-- dofile_sub dofile_sub.lua
function readTest()
screen.print(SCREEN_DOWN,0,10*6,"read Test")return"return Test"end