As a companion to the question "What was the first programming language to have 'printf'?", which language had the first scanf?
It doesn't have to be literally called
scanf, but I am looking for the following:
- A procedure, subroutine, function, or statement with the purpose of reading textual items from a file or input device.
- Takes a variable number of parameters, at least one of which specifies the number and format of the items to read.
- As this is a "first" question, you need to specify the year such a feature was introduced. I am not looking for every language with such a feature.
scanf appears to have been introduced sometime between 1972 and K&R first edition in 1978, so that's an upper bound to the answer.