The simple answer is: you can't. Not very useful to you
though. After thinking about it for a while I find that there is a
surprisingly high number of ways to answer this, but I'll pick one
(and it's not great).
In your class your function
sayHello() does only one thing. It should stay that way. If
you want to return something else then write another function: eg.,
sayGoodbye(). However, if you're hell-bent on returning more
than one thing from a function then just return an array (or better
yet a custom data object).
public function sayManyGreetings( ): Array
return [ "Hello", "Bonjour", "Guten tag", "G'Day" ];
private function initApp():void
var myTexter: Texter = new Texter;