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

Adds an element to a dynamic array.
Synopsis
MVA target source
Arguments
target A reference to a buffer or select list to be appended with the contents of source. 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 appended to the target buffer or select list. source can be a literal or a reference to a buffer or select list.
Description
The MVA PROC command appends a string to the contents of a buffer or select list. MVA adds the source string as an element to a dynamic array, separated by value mark (@VM) delimiters. It adds elements in collation order. If the contents of source matches an existing element in the dynamic array in target, no operation occurs.
See Also