Getting A Second Byte Ptr from A Byte Ptr & Offset

BlitzMax Forums/BlitzMax Beginners Area/Getting A Second Byte Ptr from A Byte Ptr & Offset

Note that if you add a number to a pointer, you are adding that number * sizeof the type of pointer.

BytePointer+10 is the same as Address+10
ShortPointer+10 is the same as Address+(10*2) or Address+20
IntPointer+10 is the same as Address+(10*4) or Address+40