6 * Purpose: prints the sum of the positive integers in sumit.dat
7 * Author: pc2@ecs.csus.edu or http://www.ecs.csus.edu/pc2
9 * $Id: sumit.pas,v 1.1 2005/03/06 05:13:57 laned Exp $
19 assign (tf
,'sumit.dat');
20 {$i-} reset (tf
); {$i+}
22 writeln('could not open file sumit.dat ')
34 writeln('The sum of the positive integers is ',sum
);