Caché MultiValue Basic Reference
[Home] [Back] [Next]
InterSystems: The power behind what matters   

Positions the remove pointer in a dynamic array.
SETREM position ON dynarray
position A positive integer specifying the number of bytes to increment the pointer in the dynamic array.
dynarray A dynamic array in which the pointer is positioned.
The SETREM statement positions a pointer within a dynamic array. This statement is commonly used to position a pointer for the REMOVE or REVREMOVE statements to extract data values from the dynamic array.
You can use the GETREM function to return the character position in dynarray of the SETREM pointer. REMOVE and REVREMOVE also modify this internal pointer so that repeated calls return successive element values.
See Also

Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA