%fsize() Function

The %fsize() function returns the size in bytes of the file associated to the opened file.descriptor returned by a previous call to %open() or %creat().

Syntax

size = %fsize(file.descriptor)

Description

If the file does not exist or is not readable, -1 is returned.

See Also

%close() Function

%creat() Function

%open() Function

FlashBASIC C Functions Overview

cfunction Statement