|
Re: Compiler Help Needed
first of all, it's "#define", not "#declare"
second, the reason you are having problems is because mcc18 automatically casts any number from 0 to 255 as an unsigned char, which can screw up math. instead, what you'd want is this:
#define Varience ((char) 10)
|