AnsweredAssumed Answered

CW10.1 with 9S08SH16

Question asked by Nouchi on Mar 1, 2011
Latest reply on Mar 1, 2011 by Nouchi

Hello,

 

Is it a bug or I don't understand anything?

 

#define MYCONST   4108ULword G100;   // Global varvoid myFunc(void){dword tempVar;  G100 = (word)((tempVar * MYCONST) / 1023);  // <= C2801}

Editor complain about syntax error, and the compiler says  "C2801 ')' missing" .

What's the problem?

 

Emmanuel

 

 



Outcomes