FGetPos
FGetPos refNum
The FGetPos operation returns the file position for a file.
FGetPos is a faster alternative to FStatus if the only thing you are interested in is the file position.
The FGetPos operation was added in Igor Pro 7.00.
Parameters
refNum is a file reference number obtained from the Open operation.
Details
FGetPos supports very big files theoretically up to about 4.5E15 bytes in length.
FGetPos sets the following variables:
| V_flag | Nonzero (true) if refNum is valid. | |
| V_filePos | Current file position for the file in bytes from the start. | |