07-18-2023, 07:30 PM
I can spin this any way I want. With _Byte, INTEGER and LONG and others 8 bytes are reserved.
See picture.
In the Memory Viewer it is stored as follows in the picture:
8 bytes for _BYTE - OFFSET 361F020
8 bytes for INTEGER - OFFSET 361F028
8 bytes for INTEGER64 - OFFSET 361F030
40 bytes for SEGBlock - OFFSET 361F038
4 bytes for STRING - OFFSET 361F060
Why doesn't it reserve me the string in OFFSET 361F021 - 361F027 ?
Why doesn't it reserve me the integer in OFFSET 361F021 - 361F027 ?
There is still free memory that is not used.
When I program in Visual Studio, it doesn't happen this way, but each variable gets the space it was dimensioned with, without wasting the space.