FreeSp

From BR Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
FREESP(<file name>)

The FreeSp internal function will return the number of free (unused) bytes on the drive containing file N.

Comments and Examples

00010 OPEN #1:"name=c:BRConfig.sys",DISPLAY,INPUT
00020 LET DRIVE$=FILE$(1:2) ! substring
00030 PRINT "Drive ";DRIVE$;" has";
00040 PRINT FREESP(1);" bytes available"

Related Functions

For additional information about files, see the following functions: