For some reason what seems like a simple function has gone over my head as to why this doesn't work, so there must be some simple concept here I'm completely missing.
I have a 2d array full of values from a csv file and I know that row 1,2 has nothing important, but column 3 has all the classes from the CSV
So $twoDarray[3][*one through six] =
1. Name
2. Location
3. host
..etc
So I should be able to pass all rows of column 3 by strconvert($twoDarray[3]).
I've searched the forums but I could not find the solution to this probably simple problem.
Dim $oneDarray $oneDarray=StringSplit($Rawfile, @CRLF, 1) $columnsCounter = stringsplit($oneDarray[2],",") Dim $twoDarray[$oneDarray[0] + 1][$columnsCounter[0] + 1] For $x = 1 to ($oneDarray[0]) $oneRow = stringsplit($oneDarray[$x],",") For $y = 1 to ($oneRow[0]) $twoDarray[$x][$y] = $oneRow[$y] Next Next strconvert($classes,$twoDarray[3]) Log Output Array variable has incorrect number of subscripts or subscript dimension range exceeded.: strconvert($classes,$twoDarray[3]) strconvert($classes,^ ERROR
Thanks,
Bob