Not sure what extra functionality you are looking for.

Functions that don't return anything are procedures, so the following will already work for example:
 Code:
HelloWorld
HelloWorld()
HelloWorld("Foo")

Function HelloWorld(Optional $s)
   "Hello "+$s+@CRLF
EndFunction


Pass-by-reference is regularly requested, and I'll second it (again).