Free Pascal Compiler version 2.6.2 [2013/02/12] for i386
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling foo.pas
foo.pas(31,6) Warning: Variable "max" does not seem to be initialized
foo.pas(37,6) Warning: Variable "maxh" does not seem to be initialized
foo.pas(38,6) Warning: Variable "maxl" does not seem to be initialized
foo.pas(40,13) Error: Incompatible types: got "Array[1..50] Of Array[1..50] Of SmallInt" expected "SmallInt"
foo.pas(86,8) Error: Can't read or write variables of this type
foo.pas(89,4) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\FPC\2.6.2\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled)