Borland Delphi Version 15.0 Copyright (c) 1983,2002 Borland Software Corporation 878232_0_0_21129.pas(12) Error: Undeclared identifier: 'sum'