Finding out whether the card drive is ready
The following code is used to find out whether the card drive (G) is ready to create a new directory with
fMakeDir.
// -- Click code on BTN_CreateDirectory
// Declare the variable
ResDriveReady is boolean
ResDriveReady = fDriveReady("G")
// The drive is ready?
IF ResDriveReady = True THEN
// The drive is ready
fMakeDir("D:\" + Directory)
END