What's the name of the array you are trying to use?

code:
$tst=GetFileVersion($srcfl,[$i])

_________________________
Eric