Get document size

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 6.0


Get document size (document{; *}) Number

ParameterTypeDescription
documentDocRef | StringDocument reference number or
Document name
*On Mac OS only:
- if omitted, size of data fork
- if specified, size of resource fork
Function resultNumberSize (expressed in bytes) of the document

Description

The Get document size command returns the size, expressed in bytes, of a document.

If the document is open, you pass its document reference number in document.

If the document is not open, you pass its name or pathname in document.

On Macintosh, if you do not pass the optional * parameter, the size of the data fork is returned. If you do pass the * parameter, the size of the resource fork is returned.

See Also

Get document position, SET DOCUMENT POSITION, SET DOCUMENT SIZE.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next