Split followed by Transpose

Dar Scott dsc at swcp.com
Mon Mar 22 21:53:56 EST 2004


On Monday, March 22, 2004, at 07:27 PM, Glen Bojsza wrote:

> I am testing the transpose command and can't seem to figure it out
>
> I have a field "test"
> 1	23	33
> 2	12	67

1,1   23
1,2   33
2,1   12
2,2   67

How does it work for that?

You might want to consider making a function that takes something like 
this

23   33
12   67

or this

[ 23 33 ; 12 67 ]

(as in MatLab, I think),

or this

[ 23 33
   12 67 ]

And the inverse function, too.

Dar Scott





More information about the use-livecode mailing list