Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TRY-CATCH Error handling with Floppy Disk
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01284220
Message ID:
01284506
Views:
10
>>Great. Just wondering why do you have a message
>>MESSAGEBOX("No floppy-disk present or insufficient space to save.",0,"Floppy-Disk Error")
>>
>>if this is the first case only? <g>
>>
>
>"DISKSPACE( ) returns –1 if there is an error reading the disk drive or volume."
>
>So, if there is no floppy disk, I get the -1 and report that the disk is missing. I guess I need to reword it to just say "No floppy-disk present.", and let the next Case statement handle the insufficient space message.....

Yes, that's what I thought.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform