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(2,29) Error: Identifier not found "maxn"
foo.pas(2,35) Error: Can't evaluate constant expression
foo.pas(3,14) Error: Identifier not found "maxn"
foo.pas(3,20) Error: Can't evaluate constant expression
foo.pas(4,14) Error: Identifier not found "maxn"
foo.pas(4,20) Error: Can't evaluate constant expression
foo.pas(45,43) Error: Incompatible types: got "Array[0..0] Of Int64" expected "Int64"
foo.pas(56,9) Error: Identifier not found "maxn"
foo.pas(64,9) Error: Identifier not found "maxn"
foo.pas(92,1) 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