Skip to main content
Version: 21 R4

Get document position

Get document position ( docRef : Time ) : Real

ParameterTypeDescription
docRefTime→Document reference number
Function resultReal←File position (expressed in bytes) from the beginning of the file
History
ReleaseChanges
6Created

Description​

Get document position returns the position, starting from the beginning of the document, where the next read (RECEIVE PACKET) or write (SEND PACKET) will occur.

This command operates only on a document that is currently open whose document reference number you pass in docRef.

See also​

RECEIVE PACKET
SEND PACKET
SET DOCUMENT POSITION

Properties​

Command number481
Thread safeyes