ted@cs.utexas.edu (Ted Woodward) (04/04/91)
I've been working on a graphics program for my graphics class, and decided to use #define statements to define some constants instead of variables that I set during initialization. I had two constants, let's call them A and B. Here is a (cort of) code fragment: #define A 0x10000 /* fixed point 1 */ #define B 43875L /* a fixed point constant I used; this isn't it */ and later: x = FixMul(A - B,y); this gave me an unmatched ) error when B was #defined, but didn't when B was a variable. -- Ted Woodward (ted@cs.utexas.edu) "Mad scientists HATE shopping for shoes!" -- Peaches