I'm curious as to which language was the first to literally have a formatted text output procedure called printf
. A trivial question, sure, but I was prompted to ask by a recent question on ZSPL.
I'll accept a language statement in lieu of a procedure/function/subroutine, but it has to be spelled printf
(or variants involving upper case, bold, or underlined letters). Other formatted I/O, such as FORTRAN's FORMAT
facilities, don't count.
I think the answer is Algol68, but that might just be historical ignorance on my part. For what its worth, Algol68 treated a format not as a string but as a unique datatype with its own denotation.
Similar but not quite printf
arrangements could also be interesting, even if not the specific answer I'm asking for.
printf
, or are you interested in the%
style formatting specifiers as used in the Cprintf
function?