Functions
Functions¶
Functions are reusable script routines that accept input and output parameters for modular logic.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Input Switches | The number of input switches (indices 0-99) available as parameters when calling this function. | Number |
| Input Variables | The number of input variables (indices 0-99) available as parameters when calling this function. | Number |
| Local Data | The local variables and switches used as default parameter values. | Local and Global Data |
| Name | The name of the function. | String |
| Output Switches | The number of output switches (indices 100-199) written back to the caller after execution. | Number |
| Output Variables | The number of output variables (indices 100-199) written back to the caller after execution. | Number |
| Script | The script that executes when the function is called. | Script |