You Must Indicate the Data Type of the Value to be Returned

From Xojo Documentation

Error message

You declared an external function using the Function keyword but did not specify the return type. This happens because the data type of the value returned was left off or because the programmer intended to declare a sub but used function instead.


See Also

Function, Sub statements.