memory allocation
CannibalRobotics
Posts: 535
So if one has a set of variables defined...
Then compares the results of @Stack and @B4, the result should be (4*100) + (4*16) + 4 = 468, right?
OR put another way, is VARiable memory allocated contiguously.
VAR long Stack[100] long Buffer[16] Byte B1 Byte B2 Byte B3 Byte B4
Then compares the results of @Stack and @B4, the result should be (4*100) + (4*16) + 4 = 468, right?
OR put another way, is VARiable memory allocated contiguously.
Comments
"holes" ?
Thanks
Jim-
Are the allocations made for all objects LONGs, then WORDs then BYTEs or is it done in that order for each object.
J-
It's done separately for each object.