This function adds a new element to the array. If the array is full and you are trying a new element that is after the (internal) size limit of the array, the array will double its size (without loosing any data) and the element will be added.
Pointer to a valid afc_array_master instance.
Data to add to the array.
Inserting method. Valid values are:
This is the fastest method of all. Element will be added as the last element in the array.
This is the slowest method of all. Element will be added as the first element of the array.
This method is quite slow (depending on the current position in the array). It will add the data after the current array position.