Array of referrals in another Array?

Is it possible to have an Array where each item is only a referral in another Array?

1 Like

Yes, but the way to do it, it just to store the index.

So if I have an array A, and I want to point to index 4 first, I just set B(0)=4

In CPP you can literally use the address of array elements, but this is basically the same thing.

Thanks, that’s really helpful.

1 Like