We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
struct NODE{ struct NODE Succ; struct NODE Prev; }; struct LIST{ struct NODE *Head; struct NODE *Tail; int count; }; struct LIST *List; struct NODE *N; ...... for(N = List->Head;N;N = N->Succ) { ...... }
Hi, That's strange; on AmigaOS it is basic feature of doubly linked lists. Maybe for workaround, you should create temporal pointer, something like:
struct NODE *N, *tn; ...... for(N = List->Head;N;tn = N->Succ, N=tn)