I have files with data that I want to use as input. Now heres the problem. The input files are built like this:

Code:
1
2

1.1
2.2
Now the thing I want to do is put the first two values in one array and the second two values in another array. BUT... the size of the arrays depend on how many values there are in the the first cluster. The input file could just as well look like:
Code:
1
2
3

1.1
2.2
3.3
To summarize: I want to get the length of the first cluster before I put it into an array. Perhaps dynamic arrays will do the trick?