William "Chops" Westfield wrote: > [...] and it certainly ought to be true that: > > (ptr + i) - (ptr) == i; While in essence you're right, this argument doesn't always work -- so you still have to know when it does and when not, and as such it doesn't explain much (as it's the result of already knowing :). For example you shouldn't bet anything of value that this is true: (doubleVal + intVal) - (doubleVal) == intVal; (Of course, we know why that's different and why the first one works and the second one not, but I just wanted to point out that math and programming instructions are not the same.) Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist