Xbasic
FILE_GET_SIZE Function
Syntax
Byte_Count as N = file_get_size(C filename )
Arguments
- filename
The full path specification of the file
Description
Gets the size of a file in bytes.
Discussion
FILE_GET_SIZE() returns the size of a file specified by Filename. This high level command is easier than using the low level FILE.OPEN()and <FILE>.BYTES_GET()methods.
Example
? file_get_size("C:\Databases\Invest\Invest.Alb") = 985
See Also