First to say: happy to see it!


And: great idea to allow "Variable(s) by Reference" - can often be very helpful!

I don't yet understand the location in e.g. a multiscript file. I think such an UDF should be a "resource" like a hidden script. But as it's definition doesn't begin in column 1 I don't understand how the organization in a multi-script file with UDF should be.
Question: if UDF returns a value it will be called like
$x = func(1, 2);
This makes no sense, if not returning a value - it will be like a command. Will it be
func(1, 2); // or
func 1 2; // as XYplorer commands like Box "00FFFF" "Desktop";
Next (maybe I'm too fast - but before I'm too late):
description shows how to define and call UDF from the local script. And this surely will be one way to use it. But: it also would be fine to create a kind of "library" of often used UDFs to be called from different scripts. I.e. define script files with UDF(s) to be called from other scripts. I hope this is planned?
No time for tests now - but hope I can proudly start testing next weekend...