From mboxrd@z Thu Jan 1 00:00:00 1970 From: gdmr@inf.ed.ac.uk (George Ross) Date: Tue, 16 May 2017 08:25:20 +0100 Subject: [TUHS] C declarations. In-Reply-To: Your message of "Mon, 15 May 2017 11:47:51 PDT." Message-ID: <201705160725.v4G7PKiA009291@farg.inf.ed.ac.uk> > ...  When you > submitted a card deck in the early days, you had to include both the > function definition and the data--the function was compiled, the data > was read, and, for the most part there were no significant side > effects (just a printout, and maybe some stuff on mag tape). In the late 1970s I had a summer job which involved writing FORTRAN programs to analyse card decks. This was on some IBM machine, which had a combi card punch/reader. On one run the program loaded and compiled, and the first two data cards went through. Then the machine crashed. After a bit of head-scratching, I realised that it was because the punch station came immediately before the read station, and there was a small typo in the program. It processed the first data card, but rather than logging to the printer it overpunched the second card instead resulting in an invalid hole combination. That card then went into the read station, and the machine didn't like it... -- George D M Ross MSc PhD CEng MBCS CITP, University of Edinburgh, School of Informatics, 10 Crichton Street, Edinburgh, Scotland, EH8 9AB Mail: gdmr at inf.ed.ac.uk Voice: 0131 650 5147 Fax: 0131 650 6899 PGP: 1024D/AD758CC5 B91E D430 1E0D 5883 EF6A 426C B676 5C2B AD75 8CC5 The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.