not really since as you know there is always ObjectScript under most SQL Functions.
BUT as mentioned: I found TO_VECTOR() the most comfortable one.
without SQL it might look like this: or worse
;; assume a $LB structure of %Integer as input
set intlist=$LB(...........)
;; fill vector
set maxvecsize=22 ; just an assumption
for i=1:1:maxvecsize {
set val=$li(intlist,i)
if '(val\1=val) continue
set $vector(vec,i,"int")=val
}
write $isvector(vec)
write vec
zwrite vecI think the difference is obvious.
Servus
- Log in to post comments