QMIns() |
![]() ![]() ![]() |
The QMIns() function inserts a field, value or subvalue in a dynamic array.
Format
where
The QMIns() function returns a new dynamic array with the specified field, value or subvalue inserted.
Note that in the C API library, a statement of the form rec = QMIns(rec, 2, 1, 0, new_data) will return a pointer to a newly allocated memory area, overwriting the rec pointer. The old memory is not freed by this call and it is therefore necessary to retain a pointer to the original rec string so that it can be freed later. |