no. But, if you set up your dyn array backwards, then it works.
That is
10 @vm 11 @vm 12 @fm 20 @vm 21 @vm 22 @fm 30 @vm 31 @vm 32
Now <1>=col 1
<2>=col 2
So instead of filling it in as <row, col>
fill it in as <col,row>
OR
subroutine get.column(var.in,var.out,col.no)
*
var.out=""
uu=dcount(var.in,char(253))
for t=1 to uu
var.out<t>=var.in<t,col.no>
next t
return
stop
end
>-----Original Message-----
>From: Barry Brevik [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, August 18, 2004 4:41 PM
>To: U2-users (E-mail)
>Subject: [U2] [UV] How to return 'column' from dyn array?
>
>
>I just realized that there seems to be no function for the following
>situation. Given the dynamic array:
>
>10 @vm 20 @vm 30 @FM 11 @vm 21 @vm 31 @FM 12 @vm 22 @vm 32
>
>...I look at this as the fields being records, or rows, and
>the values being
>columns. I'd like a function that returns a dynamic array of
>just column 3,
>that is '30', '31' and '32'.
>
>Am I making sense? Is there something in UV basic that does this?
>
>Barry
>-------
>u2-users mailing list
>[EMAIL PROTECTED]
>To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/