Returning the Value from a stored function

If you want the value from a stored function, prefix the procedure or function name with ?=. For example:

DBLOOKUP("call ?= MyFunction('cat') , "My.mdq" , "MyDB")