%DskFreeR function


Old name
%DskR
Function
The function returns the free space in kilobytes on the specified disk.
Result is a real value.
Declaration
REAL %DskFreeR(
   INT in  Drive | TEXT in path
 )
Parameters
Drive(0, 1, 2, etc.)
  • 0 - current (work) disk
  • 1 - floppy disk drive A
  • 2 - floppy disk drive B
pathText identification of disk or "UNC path".
Example
%DskFreeR(0)
  
 REAL _free
 _free := %DskFreeR("c:\") 
Napíšte komentár