== Supported Runtime Script commands in Moon OS prt, let, slp, inp, rnd add, sub, mul, div, mod jmp, jeq, jne, jgt, jlt int, str, typ, tim len, pol, pop, psh, put, get clr, drw, pxl def, end, ret, cal ~ not supported: ife, ifg, els, fin for, nxt key, del prs, lod, sav ~ only in Moon OS: led V lib [$V*] [N?] ~lib APIs: os.get_home_path (path) os.get_current_path (path) os.set_current_path ($path) os.delete_path ($path) os.make_dir ($path, $name) os.get_file_list ($path) os.get_file_type ($path, $name, type_str) os.read_file ($path, $name, content) os.write_file ($path, $name, $content) os.get_os_info (info) os.get_sys_info (info) util.get_path_by_str ($path_str, $is_file, $skip_verify, path) util.get_real_path ($path, path) util.verify_path ($path, $is_file, is_valid) dev.set_led ($val) term.prev_line term.clear_line term.reverse term.reset term.color_print ($text, $fg_color, $bg_color) term.set_prt_delay ($enable) term.get_width (width) term.get_height (height) term.move_cursor ($dx, $dy) == Runtime Script resources Tutorial: https://siwei.dev/doc/runtime/ Cheatsheet: https://siwei.dev/doc/RuntimeScriptCheatSheet.pdf