Why doesn't this give a Unhandled Memory Exception

BlitzMax Forums/BlitzMax Programming/Why doesn't this give a Unhandled Memory Exception

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I've allocated 1000000 bytes but Im able to access 3471 bytes more than what I allocated :/

Global pMemory:Byte Ptr = MemAlloc(1000000)
pMemory[0] = 255
pMemory[1003471] = 255
Print pMemory[1003471]