Free Pascal Compiler version 2.6.4 [2014/03/06] for i386
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling foo.pas
foo.pas(14,7) Error: Operator is not overloaded: "Array[0..1000] Of Array[0..1000] Of LongInt" = "ShortInt"
foo.pas(16,7) Error: Incompatible type for arg no. 1: Got "Array[0..1000] Of Array[0..1000] Of LongInt", expected "LongInt"
foo.pas(15,13) Error: Incompatible types: got "Array[0..1000] Of Array[0..1000] Of LongInt" expected "LongInt"
foo.pas(20,14) Error: Incompatible types: got "Array[0..1000] Of Array[0..1000] Of LongInt" expected "LongInt"
foo.pas(17,13) Error: Incompatible types: got "Array[0..1000] Of Array[0..1000] Of LongInt" expected "LongInt"
foo.pas(28,15) Warning: Variable "son" does not seem to be initialized
foo.pas(30,5) Error: Incompatible types: got "LongInt" expected "Array[0..1000] Of Array[0..1000] Of LongInt"
foo.pas(34,5) Fatal: There were 6 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\FPC\2.6.4\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled)