BAP Online Manuals : Library Reference : Library by Name : filesize
Previous: filepos
Next: filledellipse

6.2.53. filesize

determines the size of a file

SYNOPSIS

INCLUDE 'iolib.h'
filesize(Size,"tmp.dat"),

SYNTAX

filesize(Size,FileName) (o,i)

ARGUMENTS

integer(Size) (o) size of the file
string(FileName) (i) name of the file to be examined

DESCRIPTION

The size of the file associated with filehandle returned.

ERRORS

A runtime error if handle is not valid.

LAYERS

prolog-process, client-server, object

RELATED PREDICATES

filepos , deletefile , openwrite , tell


BAP Online Manuals : Library Reference : Library by Name : filesize
Previous: filepos
Next: filledellipse