4D v16.3

Get document position

Home

 
4D v16.3
Get document position

Get document position 


 

Get document position ( docRef ) -> Function result 
Parameter Type   Description
docRef  DocRef in Document reference number
Function result  Real in File position (expressed in bytes) from the beginning of the file

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

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.



See also 

RECEIVE PACKET
SEND PACKET
SET DOCUMENT POSITION

 
PROPERTIES 

Product: 4D
Theme: System Documents
Number: 481

This command can be run in preemptive processes

 
HISTORY 

Created: 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)