no octal format in f77

tcs at usna.uucp tcs at usna.uucp
Sat Jul 7 03:52:52 AEST 1984


 >  There is no "O" format in FORTRAN 77.

True, but there is a kludge.  Use the "R" format specifier to
convert the radix to octal and then read using the "I" format.
	100	format('input in octal:',r8,i4)

Terry Slattery		U.S. Naval Academy



More information about the Comp.unix.wizards mailing list