Local t:Byte Ptr = MemAlloc(1024) t[0] = 100 t[1027] = 10 Print t[1027]
Again, its referencing outside of whats allocated. And it doesn't give any warnings in debug.
A pointer just points to the first block of memory of a certain size, an array just points to the first element right? So I'm indexing the pointer, so shouldnt t[1027] be out of bounds?