Reference.FileSeek History

Hide minor edits - Show changes to markup

December 23, 2010, at 12:01 AM by David A. Mellis -
Changed lines 5-6 from:

Seek to a new position in the file, which must be between 0 and the size of the file (inclusive). After a call to seek(), the next character read from or written to the file will be at the new position.

to:

Seek to a new position in the file, which must be between 0 and the size of the file (inclusive).

December 23, 2010, at 12:00 AM by David A. Mellis -
Added lines 1-23:

SD : File class

seek()

Seek to a new position in the file, which must be between 0 and the size of the file (inclusive). After a call to seek(), the next character read from or written to the file will be at the new position.

Syntax

file.seek(pos)

Parameters

file: an instance of the File class (returned by SD.open())

pos: the position to which to seek (unsigned long)

Returns

true for success, false for failure (boolean)

See Also

Share