FILELEN


Finds the length of a file given its filename

Syntax:
declare function FileLen ( filename as string ) as longint

Usage:
#include "file.bi"
result = FileLen(filename)

or

#include "vbcompat.bi"
result = FileLen(filename)

Parameters:
filename
A string argument specifying the filename of the file whose length to return.

Description:
Returns the size in bytes of the file specified by filename.

Examples:
#include "file.bi"
Dim length As Integer
length = FileLen("file.txt")


Platform Differences:
Differences from QB:
See also:
Back to Operating System Functions
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode