Table of Contents

, ,

FILE_SIZE

Description

Returns the size of the specified file or document in bytes

Syntax

FILE_SIZE (file)

Parameters

An expression returning a string identifying a file or directory name or an attribute of the Document type

Returns

Number: the size of the file or document in bytes.

Example

DISPLAY MESSAGE ('File size is ' + FILE_SIZE('c:/myfile.txt')) 

FILE_EXISTS, FILE_NAME, FILE_EXTENSION, AS_STRING