If you discover a bad parameter, you have two choices. You can simply abandon all processing, or you can change the bad parameter to some safe default.
It is often preferable to do the latter, and place an error message in a variable that calling routines can check.
Leave a Reply
You must be logged in to post a comment.