Mark Rages wrote: >> exception handling => safety critical stuff > > Exceptions considered harmful: > http://www.joelonsoftware.com/items/2003/10/13.html While I think he has a point, I also think he kind of takes it away when he says: "A better alternative is to have your functions return error values when things go wrong, and to deal with these explicitly, no matter how verbose it might be." This is not any different than dealing with any exceptions explicitly, and a lot more ugly. If you deal with all exceptions explicitly, his points are moot. And IMO it's better readable (i.e. fewer errors) than the return code method. Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist