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(29,4) Error: Incompatible types: got "LongInt" expected "Array[1..1000] Of LongInt"
foo.pas(34,24) Error: Operator is not overloaded: "Array[1..1000] Of LongInt" * "ShortInt"
foo.pas(36,24) Error: Operator is not overloaded: "Array[1..1000] Of LongInt" * "ShortInt"
foo.pas(109,4) Fatal: There were 3 errors compiling module, stopping
Fatal: Compilation aborted
Error: C:\FPC\3.0.0\bin\i386-win32\ppc386.exe returned an error exitcode