Next: 6.8 SUDAT: check existence Up: 6 Input/Output routines Previous: 6.6 TAPSAV: synchronize file


6.7 TRUNCATE_FILE: truncate a file

      subroutine truncate_file(ifil,name,ni)
Truncates the file ifil, copying record extensions as appropriate.
${\tt ni}=0$
file is truncated before record name
${\tt ni}>0$
file is truncated after ni'th record



P.J. Knowles and H.-J. Werner
molpro-support@tc.bham.ac.uk
Jan 10, 2000