The error occurs from int64[], as it int64is a function, and you are trying to index it with []. To create an array int64(note the case), you should use, for example arr = Int64[].
Another problem in your code is int(a)- since you have an array int64, you must also specify the same type when parsing, e.g.push!(arr,parseint(Int64,a))
Arkku source
share