Additional information:

the ammount of elements (or lines) is not equal to the upper bound of the array, it is of course ubound+1, so this will for example be neccessary:

Code:

logLine("Filen har: " + ($dimen + 1) + " linjer")

_________________________