I have tried to find references to this kind of use, but to no avail.
Below is an easy example of what I would like to do.
SetLength(TheList,100);
ptrPos1 := @TheList[0];
ptrPos2 := @TheList[50];
My whole point is that I now want to use BOTH ptrPos1 and ptrPos2 as individual arrays from 0 to 49,
the first pointing to the first half of TheList, the second pointing to the last half of TheList.
I am aware that I can use INC and DEC on pointers, but this is of no use in this part of my project.
The variable type or array type can be anything from AnsiString to Int64. Not really important.
Maybe this is possible? I just have not found information about it.
Best regards,
Morten Brendefur.