This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

if condition

Hello,
I was compiling my firmware program written in
C using Keil microVision2 V2.4 compiler.
The target is c8051F120 microcontroller.

I noticed that the compiler accepted the following:
if (A == B, 1) {;}

Does anyone know why? I would think that a syntatically error is committed here.

Thanks in advance.

HL

Parents Reply Children
  • this
    "Use your real name if you want something!" ... I feel it unnecessary to comply with your silly request!
    and this
    If you find it 'silly' identifying yourself" .. 'suse me. I didn't write anything of the sort.

    proves you as an outright, blatant LIAR.

    with that established, I see no reason to reply to whatever garbage you may come up with.

    Erik

  • "proves you as an outright, blatant LIAR."

    Hah

    I suggest you learn how to correctly interpret the words you read. The words themself and the order in which they occur does make a difference to the overall meaning of a sentence! Inserting words that are not there is not an action of a sane person.

    You really are very silly indeed!

    Since that has been proven, it is clear that your posts are irrelevant.

    QED