- Joined
- Oct 11, 2012
- Messages
- 711
Hi, all. Can anyone explain what each line means? Thanks a lot!
JASS:
set this.next = 0 //Adding the instance or node at the end of the list ? Because the next node is nothing.
set this.prev = thistype(0).prev // What does "thistype(0)" mean? The last node we just added? So this line links the new node to the previous node?
set thistype(0).prev.next = this //Links the previous node with new node?
set thistype(0).prev = this //What does this line do?.......