This is a key to reading the descriptions of the built-in scripting functions.
Each function description is broken into several sections.
Function | Group | Execution | Windows | Embedded | Thin Client |
---|---|---|---|---|---|
function name | group name | synchronous or asynchronous | supported or not supported | supported or not supported | supported or not supported |
First, obviously, the exact name of the function as it should be used in your project.
Next, the functions are organized into groups according to the type of calculcation they perform or the part of your project upon which they act. You can use the group names to find the functions you want in the Object Finder and in this documentation.
This is normally not an issue because most functions are executed almost instantly, but if a client makes unusually frequent function calls or your network is slow, then your project may suffer decreased performance.
For more information about these system types, see System Requirements.
A basic syntax diagram shows how the function should be entered and what parameters it takes.
The additional prefix opt indicates that a parameter is optional. If you do not specify a value for the parameter, then the function will take the default value mentioned in the parameter description.
In the few cases where a parameter must take a project tag or some other special input, it will be fully explained in the parameter description.
This section describes the value returned by the function, if any.
Some functions return a calculated value, depending on the nature of the function.
Other functions return an error code that indicates how well the function was executed. The possible codes and their meanings are provided in a table.
This section describes any additional notes or cautions on the use of the function.
This section shows how the function can be called in your project. Multiple examples are provided to show how the function can take both literal values and project tags, as well as how the function may be called if it has optional parameters.