Name of Array variable to use. This array must be a one-dimensional array or a two-dimensional array.

<Element Column 1>: Type of array elements, optional

Element of the row that will be added into the specified array. Each element corresponds to a column in the array. The type of the added element must be compatible with the type of relevant column.If none of these parameters is specified, an empty row is added to the array. The columns are initialized with the default value of the type of the other array elements.If one of these parameters is not specified, the corresponding column is initialized with the default value of the type of the other array elements.

<Element Column N>: Type of array elements, optional

Element of the row that will be added into the specified array. Each element corresponds to a column in the array. The type of the added element must be compatible with the type of relevant column.If none of these parameters is specified, an empty row is added to the array. The columns are initialized with the default value of the type of the other array elements.If one of these parameters is not specified, the corresponding column is initialized with the default value of the type of the other array elements.

Remarks

Adding a row into an array

When using ArrayAddLine:

the number of rows in the array is automatically increased to include the new row.

the number of columns in the array is not increased. You must:

declare the array with the proper number of columns (second dimension of the array).

arr_empresas_codigo is array of intFOR EACH empresa ArrayAddLine(arr_empresas_codigo,empresa.empresaID)ENDArraySort(arr_empresas_codigo,asDescending)FOR x=1 TO ArrayCount(arr_empresas_codigo) Trace(arr_empresas_codigo[x])END