Nick Keighley <> writes:
[...]
> "auto" keyword is almost useless
Which is why C++ is re-using it for a new purpose.
> did early C have "fortran" and "entry" keywords or was that just a
> rumour?
K&R1, Appendix A, 2.3:
The entry keyword is not currently implemented by any compiler
but is reserved for future use. Some implementations also
reserve the words fortran and asm.
K&R2 mentions "fortran" and "asm".
Both C90 and C99 mention the "fortran" and "asm" keywords under
"Common extensions"; neither mentions "entry".
I think the original intent of "entry" was to permit alternative entry
points to be defined for functions, making it easier, for example, to
define sin() and cos() as a single function. Fortran has such a
feature.
--
Keith Thompson (The_Other_Keith)
kst- <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"