Parameters or Returns

Prev Next

The Parameters/Returns section lists the parameters needed for the procedure to execute the code and any values the procedure returns. These operate like inputs and outputs for the procedure.

You will notice slightly different views for procedure and event handlers. Event handlers have pre-defined parameters that you cannot modify or add to. When creating a procedure, you have the option to add a parameter/return to the procedure.

Follow the steps below to add a parameter or a return to a procedure:

1.      Select the (A) Parameter or Return button to determine which item to add

2.      Select the variable (B) Data Type from the drop down list

3.      Add a name for the variable in the (C) text box

4.      Select the (D) plus icon

The list of parameters and returns is listed by category, either Parameters or Returns. You can delete any item from the list by selecting the trashcan icon.