JCL Help:DiskInDrive
JCL Help: DiskInDrive Function
Search in JCL Help
Search in all projects
Summary
Tests whether there is a disk in the specified drive.
Pascal
function DiskInDrive(Drive: Char): Boolean;
Parameters
Parameters | Description |
Drive: Char | The volume to test. Valid drives are 'a'..'z' and 'A'..'Z'. |
Return Value
If the drive is accessible, a disk is present, and the result is True. If the drive is not accessible or an error occurred the function returns False.
Description
DiskInDrive tests whether or not there is a disk present in the specified drive. The drive can be any volume from a to z, specified either in lowercase or uppercase. The function returns whether or not the drive is accessible, for removable media this indicates whether or not the drive has a 'disk' present, for other type of media it indicates if the drive exists.
About
Unit
Donator
John C Molyneux
Platforms
Windows
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page