FreeSp: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:


  FreeSp(<file name>)
  FREESP(<file name>)


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

Latest revision as of 17:18, 22 May 2014

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: