Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TRY-CATCH Error handling with Floppy Disk
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01284220
Message ID:
01284506
Vues:
11
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform