If you need to create an array of structures, you do it by declaring an array variable with a structure type; for example:
structure MonthlySalesData MonthSales[12]
This example declares an array of structures, each element of which has the type structure MonthlySalesData.
To pass an element of this array to an external function, you would specify the array name and the subscript, as in:
copy YearToDate ( YearTotals, MonthSales[5] ) to
YearTotals