"Graeme Perrow" <gperrow@[EMAIL PROTECTED]
> wrote in message
news:1123766757.458479.14640@[EMAIL PROTECTED]
> I'm using CW 7 with PDK 4 for NetWare, and I'm having trouble with this
> trivial program:
>
> int main( int, char ** )
> {
> int or = 3;
> return 0;
> }
>
> Obviously "or" is a reserved word, though I don't know why. Watcom and
> Microsoft have no problem with this program.
>
> Is there a list of all the reserved words?
>
Google "C reserved words"
"or" isn't part of the standard (I seemed to remember it was, actually,
but
it's not on the list.) It may be defined somewhere in a library or as an
extension to someone's compiler. Look thru the CW documentation.


|