Thats it exactly.

If you don't know how big the array will be, you can create it dynamically.

There are a lot of ways of doing it, but here's one.

Take a file "bookfile.txt" with the following contents:
Code:
name=Withering Bites
name=Hairy Otter and the Fragrant rice of Doom
name=20 Leeks under the Pea



This code will load the values into an array, then display them:
Code:
If Not Open(1,"bookfile.txt")
$s=ReadLine(1)
While Not @ERROR
If InStr($s,"name=")=1
If IsDeclared($aBooks)
$aBooks=Split(Join($aBooks,"|")+"|"+SubStr($s,6),"|")
Else
$aBooks=Split(SubStr($s,6),"|")
EndIf
EndIf
$s=ReadLine(1)
Loop
$=Close(1)
EndIf

For $i = 0 to Ubound($aBooks)
$i+1 " " $aBooks[$i] ?
Next