Dskf(Function)

Get the available space of the drive.

Dskf(<Drive Name>) 

Parameters
<Drive Name>
The drive name (character string) to get the available space.

Return Value
Returns the value of the integer.
The content of the value is the byte expression of the amount of free space available on the drive.

Description
When a drive that does not exist has been specified, -1 is returned as the return value.
Specify the <Drive Name> in a manner similar to the following: "C:\".

Example
When the remaining available space on the drive is less than 1KB turn ON the ERROR signal.
      if Dskf("C:\")<1024 then putport "ParallelIo",103,1