
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>isdrive() - check if a drive is ready for access</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Name: isdrive() - check if a drive is ready for access
Usage: <logical> = isdrive([<drive>])
Params: string <drive> - drive letter to check, optional - If
none, then the currently logged drive is used
Returns: logical .T. if drive is ready, .F. if not or error
---------------------------------- Example ---------------------------------
if .not. isdrive("A:")
@ 0,0 say "Drive A: not ready...."
else
append from A:temp SDF
endif
Note: This function sets ferror() if the drive is not ready.
See Also: isdisk() curdrive() drivestr()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson