Synopsis:
result=array_set(array_name,index0[,index1,...],value)
Arguments:
array_name - The array name as previouslydefined by a call to array_dim()
index0 - The first index specifier
[index1] - The Optional second index specifier
[index2] - The Optional third index specifier
.. ETC
value - The value to set the array element to
Description: This function allows an element of an array previously created by a call to array_dim() to be assigned. The array_name specifies the name of the array and must correspond to the name given when the array was created. The index0[, index1[, index2...etc]] indexes specify the element of the array to set and the number of indexes given must correspond to the number of indexes specified when the array was created.
The value argument is the string value that will be set in to the array.
Returns: Returns 0 on success or -1 if an invalid array_name was given or an invalid number of indexes.