Hello,
I was wondering if someone could show me an example of a linked
list using only powerbasic keywords. I have been thinking about
this for some time and I'm a bit unsure on how to allocate an
array for this purpose. As I understand it, each link contains
a pointer to the next and possibly even to the previous link. If
you redim an array, the memory block used for the list could move
in memory an thus invalidate all you pointers... ?
------------------
Cheers
I was wondering if someone could show me an example of a linked
list using only powerbasic keywords. I have been thinking about
this for some time and I'm a bit unsure on how to allocate an
array for this purpose. As I understand it, each link contains
a pointer to the next and possibly even to the previous link. If
you redim an array, the memory block used for the list could move
in memory an thus invalidate all you pointers... ?
------------------
Cheers
Comment