Another way, if you don't want to use a list of something, you can return a value by reference...
<font class="small">Code:</font><hr /><pre>
bool GetSomething (out string sStr)
sStr = "There has been an error"
I don't remember exact signature (and I can't check it right now since I don't have ST in front of me). Just see where 'out' belongs.
What this function does, it returns a bool and possibly a string, which you will pass in to it.