_init = (args) => { print("Hello from TSTL!"); print(`There are in total ${args.length} argument(s)`); print(`Date is ${sys.date()[0]}/${sys.date()[1]}/${sys.date()[2]}`); print(`The drive is ${_DRIVE}`); print(`The working directory is ${_DIR}`); print(`The executed file is ${_FILE}`); const myFont = text.loadfont("Victoria.8b"); view.newscreen(5, 1); gfx.fgcolor(1); gfx.line(2, 2, 10, 5); text.draw("TypeScriptToLua", myFont, 15, 15); } _step = (time) => { //print(`Step interval is ${sys.stepinterval()}`); if (input.hotkey() === "\x1b") { sys.exit(); } } _shutdown = (exitcode) => { print(`Program terminated with code ${exitcode}.`); }