[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
R_FSize()
Determines the size of a file
------------------------------------------------------------------------------
Syntax
nFileSize := R_FSize ( cInFile )
Arguments
cInFile File specification of the file to be examined
Format : [drive:][\path\]filename[.ext]
Example : C:\INVOICE\INVOICE.DBF
Returns
nFileSize Size of the input file (in bytes).
If an error is detected (p.e. the specified input
file doesn't exist) the value -1 will be returned.
Description
Determines the size of a file.
Example
*-- Determine the filesize of TEST.DBF
nFileSize := R_FSize ( 'TEST.DBF' )
More examples can be found in the demo program RCmpDemo.PRG.
.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson