Thus spake Ben Darnell: > There's a lot of code in ThoughtStream that breaks if given NULL as a > parameter, but since it's difficult to gracefully handle errors in > PalmOS, I'm currently relying on the fact that it's difficult to get > things into a confused state (i.e. a null db parameter), and when they > are, things are so badly broken that it's probably safer to just crash. ^^^^ ^^^^^ Um, I think maybe you should change your thinking from "just crash" to "exit gracefully". On a platform like PalmOS, where a crash means you have to find a paperclip and reboot the thing, exiting the app and dumping the user back to the Launcher in case of catastrophe is probably a better choice. IMHO. -- Jack Nutting : jnutting@orcsoftware.com Orc Software : www.orcsoftware.com