Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / perform checklist for drives

Author
Message
ashino
15
Years of Service
User Offline
Joined: 12th Nov 2010
Location:
Posted: 15th Nov 2010 11:00
hello,

can someone tell me how to show the output of "perform checklist for drives" in an example, and what is "checklist string$" is used for?

thanx
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 15th Nov 2010 14:31


Utility plug-ins (26-JUL-2010)
I'm applying terms of use that require you to wear a red nose and honk a horn whenever you use the Internet
ashino
15
Years of Service
User Offline
Joined: 12th Nov 2010
Location:
Posted: 15th Nov 2010 14:58
thanx IanM

when i use "drivelist" it only shows two drives c and d, which is different than the output of "perform checklist for drives" , why?
should drivelist show all the drives?
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 16th Nov 2010 14:19
From what I can see in the source code, the DRIVELIST command attempts to change directory to all the drives from A to Z, and if it succeeds, writes out the drive name.

The PERFORM CHECKLIST FOR DRIVES automatically includes the A drive, and then only lists the other drives if they are 'Fixed' or CDROM, and for some reason ignores the removable or remote drives.

I don't know why there is a difference, or why the checklist restricts the drive types.

Utility plug-ins (26-JUL-2010)
I'm applying terms of use that require you to wear a red nose and honk a horn whenever you use the Internet

Login to post a reply

Server time is: 2026-07-23 02:37:33
Your offset time is: 2026-07-23 02:37:33