A customer recently posted this feature request in an email to our support team:
"It will be a powerful extension if a GoldSim user can have user-defined (scripting) function (UDF), an extension to the current Scripting Element. Then the Expression Element and many other elements with such UDFs can be extended to many further dimensions. The current design of scripting element must have inputs linked to real objects instead of the dummy arguments of a true function. Such a design is also limiting the use with other elements, or itself (e.g., recursive). In computer programming, a function is a sequence of program instructions that perform a specific task, packaged as a unit. In different programming languages, a function may be called a subroutine, a procedure, a routine, a method, or a subprogram. For example, the most popular Excel already has more built-in functions than other Office apps, the UDF by the scripting VBA makes the Excel successful for almost every field of engineering applications. @Risk and Crystal Ball are two good examples of simulation application based on the extension of Excel."