June 23, 1985 RESEQ: A FORTRAN Statement Number Resequencing Program R. W. Barnard Sandia National Laboratories Albuquerque, NM 87185 (505)-844-5115 This program is an enhancement and modification of one origi- nally submitted to the RT-11 SIG tape in 1980 by Larry Morton. It will renumber the statements of FORTRAN-IV and FORTRAN-77 programs to give them a nice order. The starting statement number and increment are specifiable. The current version of the program requires the DECUS library routine PARSE (11-662), which allows the user to enter only the file name, if desired. The default device and extension will then be added by the program. All the defaults are coded into the first part of RESEQ.FOR. The output file has the extension .RSQ. The library VT.OBJ contains PARSE and some other VT-100 screen-formatting routines. The library RESLIB contains the six subroutines used by RESEQ. The version submitted here includes bug fixes by Kurt Balser, University of Giessen, Germany, and by R. W. Barnard. These in- clude being able to separate READ's, IF's, etc by tabs, instead of spaces. Form Feeds embedded in the source code now are handled properly.