Scratch Array parameter formerly called Declare Array Parameter is used to declare a variable and its size. Sometimes multiple declare parameters are required to store multiple parameter values. So for this, declare array parameter is used. If the user needs multiple declare variable to store some temporary data during the session, then it can take single declare array with a given length (equal to the required number of declare variable). User can also set a default value for Scratch array.

## Adding the Scratch Array Parameter

The following fields need to be filled to add scratch array parameter in the scripts:

- Parameter name : It is the unique name of this parameter. The Parameter name must start with an alphabet. It is used in the parameterization of the script with curly braces { }.
- Array Size : It is the size of the array. (if n is the size of the array then it can store n values means it can replace n number of declare array) By default, the size is set as "1". For example, if there are elements such as 0,1,2,3,4, its array size is 5.
- Default Value : If the user gives a default value then the Scratch array will be initialized by this value. User can set scratch array parameter values using ns_eval_string.