Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wrong #defined calculated value
#2
Not sure what's going on there. I get the same result.

It can't be because it's three things -

Code:
#define test 1+2+3
print test

comes back with 6, correctly.

The ic basically shows "print 32" as that last line that should be 30, so I can't easily drill down any further - the preprocessor is definitely making that set into a 32 though.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)