 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
John Luetich Guest
|
Posted: Thu Mar 02, 2006 6:03 pm Post subject: suppress I/O Error |
|
|
How would I suppress and I/O error message (103) dialog box in an IF
statement?
In other words, if I get the error, I want to open another file.
Thanks
John |
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Thu Mar 02, 2006 6:03 pm Post subject: Re: suppress I/O Error |
|
|
John Luetich wrote:
| Quote: | How would I suppress and I/O error message (103) dialog box in an IF
statement?
In other words, if I get the error, I want to open another file.
Thanks
John
|
Place the statement that causes the error in a try/except block. See
the I/O Errors topic in the on-line help for additional information.
--
Bill Todd (TeamB) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|