File:tell

Edit

Returns the seek position of the file, which is where File:read and `File:write will read/write from.

offset = File:tell()

Arguments

None

Returns

NameTypeDescription
offsetnumber The file offset, in bytes.

See also