PDA

View Full Version : [Scheme] Error handling


BianConiglio
03-26-2005, 07:56 AM
Hi to all, I'm using DrScheme.

If i have something like this:

(open-input-file filename)

It will open a file and let me use it... but.. if the filename is incorrect, the program crushes.. How can I handle the error "file not found"?
I need it so I can check it and keep my program running!


Thanx :)