GLBasic User Manual

Main sections

GETFILESIZE()

bytes# = GETFILESIZE(file$)



Returns the size of the file file$ in bytes.
The file must not be opened by OPENFILE, yet! Read access to the file is required.

NOTE :
1024B = 1KB
1024*1024B = 1MB

See also...