Forum: Programmieren allgemein
by Kas Ob.,
24. Okt 2023
Ok that was a bad and unreliable example, it takes many times of running and retrying on x64 to crash the debugger and the content of the array goes junk.
Forum: Programmieren allgemein
by Kas Ob.,
24. Okt 2023
There is no problem in this screenshots, everything is fine.
That junk is from uninitialized values, eg. when you set the length of an array to lets say 10 then it will receive un-zeroed memory from the memory manager (could be recycled and previously used by something like a TBitmap), so what ever was there it will stay there until been written on, so unless you fill it with data the data...