Free Pascal Compiler version 3.0.0 [2015/11/16] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling foo.pas
foo.pas(18,5) Error: Operator is not overloaded: "array1" + "LongInt"
foo.pas(32,1) Error: Operator is not overloaded: dec "array1"
foo.pas(32,1) Error: Incompatible types: got "untyped" expected "array1"
foo.pas(46,7) Error: Operator is not overloaded: "array1" + "LongInt"
foo.pas(50,7) Error: Operator is not overloaded: "array1" + "LongInt"
foo.pas(69,5) Error: Operator is not overloaded: "array1" + "LongInt"
foo.pas(83,5) Error: Operator is not overloaded: "array1" + "LongInt"
foo.pas(106,5) Error: Operator is not overloaded: "array1" + "LongInt"
foo.pas(144,5) Error: Operator is not overloaded: "array1" + "LongInt"
foo.pas(153,4) Fatal: There were 9 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\FPC\3.0.0\bin\i386-win32\ppc386.exe returned an error exitcode