Hi,
"Bob Martin" <bob.martin@[EMAIL PROTECTED]
> wrote in message
news:WJPKh.3308$267.1698@[EMAIL PROTECTED]
>
> During a discussion in comp.lang.c several people said they had never
> come across the term "typecast". I jokingly replied something to the
> effect
> of "then you've never done any serious Pascal programming".
> This triggered a stream of "I've done lots of serious Pascal programming
> but have never heard of typecast".
> Are they all yanking my chain?
Typecasting or "Casting" as it is called there, is right from Kernighan &
Ritchie, so it has always been part of the C language.
I can't find anything on typecasting in Jensen & Wirth, I guess it wasn't
there in Pascal at the very beginning.
I think it is a Borland extension to the Pascal language, to make the
language more usable in real life, as opposed to the teaching language it
was originally.
HTH, Matt


|