Caché MultiValue PROC Reference
MVD
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

Deletes an element from a buffer.
Synopsis
MVD target source
Arguments
target A reference to a buffer or select list from which with the contents of source should be deleted. A reference must begin with a %, !, &, or # character, followed by a number (%2), or followed by another of the four reference characters (%%).
source The text to be deleted from the target buffer or select list. Can be a literal or a reference to a buffer or select list.
Description
MVD deletes the source element from a dynamic array in target. It searches the dynamic array until it finds an exact match. It deletes the first matching element encountered and the associated value mark (@VM) delimiter. If the source value matches no existing element, no operation occurs.
See Also