View Single Post
Old 12-16-2011, 12:37 PM   #13
DarkStar
Human being with feelings
 
DarkStar's Avatar
 
Join Date: May 2006
Location: Surrey, UK
Posts: 19,677
Default

Code:
memtest1 = 3;
memtest2 = (memtest1 + 6);
memtest3 = (memtest2 + 4); // <- I expect that this is correct, but its not. Why???
==>>
Code:
memtest1 = 3; // could be anything
memtest2 = (memtest1 + 3);
memtest3 = (memtest2 + 6); // <- I expect that this is correct, but its not. Why???
memtest2 must be 3 slots later than memtest1
memtest3 must be 6 slots later than memtest2

With the line memtest3 = (memtest2 + 4)
memtest3[0] is using the fourth slot after memtest2[0].
__________________
DarkStar ... interesting, if true. . . . Inspired by ...
DarkStar is offline   Reply With Quote