I just read something like this in blitz coder. Don't know if it will help but...
It says, you should always return a value from your fuctions. Even your destructor functions.
"By having your Destroy function return a false value when you try to pass it a null type instance, its one more clue to help you track down where things are going bad in your code. Management functions can return how many objects they've processed, and just about any routine can return a true or false based on whether the operation succeeded or not." by Kryler
Well thats all I got. Hope it helps.
It says, you should always return a value from your fuctions. Even your destructor functions.
"By having your Destroy function return a false value when you try to pass it a null type instance, its one more clue to help you track down where things are going bad in your code. Management functions can return how many objects they've processed, and just about any routine can return a true or false based on whether the operation succeeded or not." by Kryler
Well thats all I got. Hope it helps.