Defining the Input Parameters
While you can enter a value directly into a function, you can use input parameters as placeholders that are filled when the function runs. For example, the following input parameters are used for the number of correct answers on a test and the total number of questions on that test.
To define an input parameter:
- Under Input Parameters, use the Name field to provide a unique name. The name cannot contain spaces, so use underscores instead.
- Select the text under Type to select the type of data in the parameter.
- Optional: Select the checkbox under Multi-value to accept more than one value in the parameter.
Example: A multi-value input parameter with values 1, 2, and 3 contains "1,2,3".
- Click the Test button to ensure output is as expected.