1956: Fortran I:
PRINT 1, X
1 FORMAT (F10.2)
Fortran was able to use the same format specification for more than one print statement, that's why the format statement is referenced by number. It was even able to do repeats, for example this code from 1956 PRINT 2, X, Y, A, B, C, D, N
2 FORMAT ( 3 ( F10.3, F10.4 ), I4 )
is an equivalent of the following C: printf( "%10.3f%10.4f%10.3f%10.4f%10.3f%10.4f%4d",
x, y, a, b, c, d, n );
Moreover, C interprets the format specification at runtime, in FORTRAN the compiler uses it during the compilation.Fortran was invented by John Backus and there was already a finished compiler in 1956:
"Programmer's Reference Manual Fortran Automatic Coding System For IBM 704"
http://www.fh-jena.de/~kleine/history/languages/FortranAutom...
I/O in the first Fortran, I believe including the FN.M syntax, was implemented by Roy Nutt, also one obvious genius:
http://www.smartcomputing.com/editorial/dictionary/detail.as...