Hello,
I'm reading in an INI file and would like to make an array out of the data. I've tried this

Code:
  
For Each $line In ReadFile("c:\MAC.ini",,)
? $line
If AScan($MAC,$line) =- 1
ReDim preserve $MAC[Ubound($MAC)+1]
$MAC[Ubound($MAC)] = $line
EndIf
Next



I want to populate the new array as it reads in the file because I will have no idea how many lines there will be.

Is this doable?