foo.pas(17,34) Error: Incompatible types: got "Boolean" expected "SmallInt"
foo.pas(18,34) Error: Incompatible types: got "Boolean" expected "SmallInt"
foo.pas(20,8) Error: Identifier not found "num"
foo.pas(25,15) Error: Incompatible types: got "Boolean" expected "LongInt"
foo.pas(29,51) Error: Identifier not found "num"
foo.pas(31,15) Error: Incompatible types: got "Boolean" expected "LongInt"
foo.pas(35,51) Error: Identifier not found "num"
foo.pas(37,29) Error: Incompatible types: got "Boolean" expected "LongInt"
foo.pas(39,25) Error: Incompatible types: got "Boolean" expected "LongInt"
foo.pas(43,61) Error: Identifier not found "num"
foo.pas(53,38) Error: Identifier not found "num"
foo.pas(55,6) Fatal: There were 11 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)