Re: Multidimensional arrays
- Posted by Andy Serpa <ac at onehorseshy.com> Nov 24, 2004
- 550 views
Andy Serpa wrote: > > function cx(sequence M, integer ci) > sequence c > if ci < 0 then > ci = length(M[1]) + ci + 1 > end if > c = repeat(0,length(M)) > for i = 1 to length(c) do > c[i] = M[i][ci] > end for > return c > end function > Oh yeah, and cx(s,-2) selects the 2nd column from the end...