Reference.FilePosition History

Hide minor edits - Show changes to output

December 23, 2010, at 12:00 AM by David A. Mellis -
Deleted line 21:
* [[FileSize | size()]]
December 22, 2010, at 11:56 PM by David A. Mellis -
Added lines 1-22:
[[SD]] : ''File'' class

!!position()

Get the current position within the file (i.e. the location to which the next byte will be read from or written to).

!!!!Syntax

''file''.position()

!!!!Parameters

''file'': an instance of the File class (returned by [[SDopen | SD.open()]])

!!!!Returns

the position within the file (''unsigned long'')

!!!!See Also

* [[FileSeek | seek()]]
* [[FileSize | size()]]

Share