sun-spots fortran "blanks" program

Pat Murphy pmurphy at bass.tuc.nrao.edu
Sat Jun 24 01:31:27 AEST 1989


ANSI X3.9-1978 FORTRAN 77, page 12-12 (full language, not subset):

   "If the unit specifier [in a format statement] specifies an internal
    file, the control information list must contain a format identifier
    other than an asterisk..."

Try using something like:

      read (string, fmt='(a)', err=999) temp

If you do this both on the terminal input and the internal read, you 
should not have to enter the initial string in quotes either.

				Pat Murphy, Nat'l Radio Astronomy Observatory
				pmurphy at nrao.edu, pmurphy at bass.tuc.nrao.edu
				...!uunet!nrao.edu!pmurphy
				(602) 882-8250



More information about the Comp.sys.sun mailing list