21.7.3 Setting Up User-Defined Functions

Register an existing script as a user-defined function so you can use it within other scripts. The registered function can be used by a D-Script, Global D-Script, or Extended Script.

Click [Create]. The User-Defined Function dialog box appears.

Select the User-Defined Function you want to modify and click [Edit]. The User-Defined Function dialog box appears.

  1. Enter the function name and create the script in the Execution field. Click [OK] to save the user-defined function.

  2. Select the user-defined function to call, click [Call] and "Call Function Name" will be placed in the Execution field.