Is this intended behaviour that a variable is used like a special index in the array?
i.e. that those two programs are valid and accept:
SET(a=1)
ASSERT(INARRAY(1,a))
SET(a=1)
SET(a[1]=1)
ASSERT(!UNIQUE(a))
(My assumption would have been that a variable must either be an array or a value but not both at the same time)
Is this intended behaviour that a variable is used like a special index in the array?
i.e. that those two programs are valid and accept:
(My assumption would have been that a variable must either be an array or a value but not both at the same time)