foo.pas(6,11) Error: Identifier not found "n"
foo.pas(7,12) Error: Identifier not found "i"
foo.pas(7,11) Error: Ordinal expression expected
foo.pas(7,11) Error: Illegal counter variable
foo.pas(7,21) Error: Identifier not found "n"
foo.pas(8,15) Error: Identifier not found "i"
foo.pas(8,32) Error: Identifier not found "i"
foo.pas(8,38) Error: Identifier not found "i"
foo.pas(9,15) Error: Identifier not found "i"
foo.pas(9,21) Error: Identifier not found "i"
foo.pas(9,28) Error: Identifier not found "i"
foo.pas(10,14) Error: Identifier not found "n"
foo.pas(11,6) Fatal: There were 12 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\FPC\2.6.0\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled)