This is only a example PopUp window, the error I'm getting is: variable must be of type Object AutoIt Error Line 12467 "(File: D:\AutoIt_Teste\GetFileLineError.exe") Error: Arrary variable has incorrect number of subscripts or subscript dimension rage exceeded. How can a find the Source Code line that caused this error? I tried to make a program that count the lines of the Include files, but it didn't work. I'm attaching the program code, I used to find the line error on the fil