Parameters

Every ITP/Server Service script can require parameters. The caller of the script must provide these parameters. The use of parameters allows scripts to be as generic and flexible as possible.

Declaring optional and required parameters

Scripts can have two types of parameters:

A parameter is made optional by stating a value in the declaration (setting a default value).

Example

Parameter Text first_parameter;
# This is an required parameter: no default value.
Parameter Text second_parameter = "some text value" 
# This is an optional parameter. Its default value is present
# and set to "some text value".

Rules for parameter names