DelphiXE compatibility
start counting at line 1