Rev 539 | Blame | Compare with Previous | Last modification | View Log | Download
lua_file_exists.asm(12): error: [LUA] bogus.file does not exist.lua_file_exists.asm(12): error: [LUA] bogus.file does not exist.# file opened: lua_file_exists.asm1 0000 lua pass12 0000 ~ pass = 03 0000 endlua4 00005 0000 lua allpass6 0000 ~ pass = pass + 17 0000 ~ sj.parse_code("DISPLAY \"lua pass: \", /D, "..pass)8 0000 ~ if sj.file_exists("lua_file_exists.asm") then9 0000 ~ sj.parse_line(" DISPLAY \"lua_file_exists.asm does exist.\"")10 0000 ~ ; end11 0000 ~ if not sj.file_exists("bogus.file") then12 0000 ~ sj.error("bogus.file does not exist.") -- show this one as error for fun13 0000 ~ ; end> lua pass: 314 0000 DISPLAY "lua pass: ", /D, 3> lua_file_exists.asm does exist.14 0000 DISPLAY "lua_file_exists.asm does exist."lua_file_exists.asm(12): error: [LUA] bogus.file does not exist.14 0000 endlua15 000016 0000 lua pass3 ; wrong arguments17 0000 ~ sj.file_exists("lua_file_exists.asm", 2) -- not reported since Lua5.4 and LuaBridge 2.6 integration :(18 0000 endlua19 000020 0000 lua21 0000 ~ assert(false == sj.file_exists(nil))22 0000 endlua23 0000# file closed: lua_file_exists.asmValue Label------ - -----------------------------------------------------------