you can do this, but it is still only one return value... see also this example
and don't hesitate do do a search in the community...
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.