The documentation says that Array is a valid return type for a User Command (see https://docs.flexsim.com/en/20.0/Reference/Tools/UserCommands/#parameters), but when I create such a User Command and then use it I get an error. Here is a line of code:
Array returned_array = UserFunctionThatReturnsArray();
and here is the error it gives:
Command UserFunctionThatReturnsArray does not return the required type.
Am I doing something wrong or is the documentation incorrect?
Incidentally there is a typo in that same section of the documentation:
The var parameter with will accept any of the datatypes.