Sets in ObjectScript
Hello,
Is there a built-in Set class in IRIS? A set is an array-like collection where each value in the set is guaranteed to only appear once.
Product version: IRIS 2023.1
Discussion (0)0
Comments
not so much need of a SET class in ObjectScript
- every local variable array or a global allows alphanumeric subsriüpts up to size 255
- those subscripts are unique
there is of course %LIbrary.ArrayOf.*
for example
https://docs.intersystems.com/iris20241/csp/documatic/%25CSP.Documatic…
unlike %Library.List* of which allows for an item to exist more than once in the set/collection