On Wed, 24 Dec 2014 00:56:39 +0100, Mercury Thirteen  
<[email protected]> wrote:

> Feedback is welcome!

First of all, the functions TrimLeft$ and TrimRight$ are not called at  
all, so you can remove them to save a few bytes (QB will not automatically  
remove them).

And +1 for prefixing constants with "k". :D

Just for fun, I tried the program with every kind of drive I could. The  
results:

* Floppy drive: identified correctly.
* FAT-formatted hard disk: identified correctly.
* SHSURDRV-created RAM drive: "not detected"
* SHSUCDX-created CD drive: identified correctly.
* Iomega Zip 100 drive: identified correctly as "removable drive".
* NTFS-formatted hard disk (with NTFSDOS): "not detected" (note: I think  
NTFSDOS makes it appear as a network drive)

It doesn't seem to work with USBDOS-created drives though. It printed  
"Disk not ready in " and halted.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to