lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


---------------------------------------------------------------------
file = io.open("test.bin", "rb")
file:seek(5)
---------------------------------------------------------------------

/cygdrive/d/tools/lua: E:\Projects\test.lua:2: bad argument #1 to `seek' (invalid mode)
stack traceback:
        [C]: in function `seek'
        E:\Projects\test.lua:2: in main chunk
        [C]:[C]