Top  Previous  Next


The QMDel() function deletes a field, value or subvalue from a dynamic array. It is analogous to the QMBasic DELETE() function.


The function arguments are:


Srcis the dynamic array to be processed


Fnois the number of the field to be deleted. If less than 1, 1 is assumed


Vnois the number of the value to be deleted. If less than 1, the entire field is deleted.


Svnois the number of the subvalue to be deleted. If less than 1, the entire value is deleted.



The QMDel() function returns a new dynamic array with the given field, value or subvalue deleted. If the required item is not found, the original string is returned unchanged.


The examples below return a copy of the dynamic array Rec with field 1, value Pos removed.







hmtoggle_plus1QMBasic Class Module