foo.pas(20,6) Warning: Variable "n" does not seem to be initialized
foo.pas(29,12) Error: Operator is not overloaded: "LongInt" xor "Array[0..201] Of LongInt"
foo.pas(44,12) Error: Operator is not overloaded: "LongInt" xor "Array[0..201] Of LongInt"
foo.pas(51,1) Error: Operator is not overloaded: dec "Array[0..201] Of LongInt"
foo.pas(51,1) Error: Incompatible types: got "untyped" expected "Array[0..201] Of LongInt"
foo.pas(58,6) Warning: Variable "sum" does not seem to be initialized
foo.pas(62,4) Fatal: There were 4 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)