Doubly-linked list/AutoHotkey: Difference between revisions
Content added Content deleted
(common autohotkey solutions to the doubly-linked lists related tasks on behalf of laszlo) |
(discussion link) |
||
Line 1: | Line 1: | ||
{{collection | Doubly-linked list}} |
{{collection | Doubly-linked list}} |
||
[http://www.autohotkey.com/forum/viewtopic.php?t=44657&postdays=0&postorder=asc&start=333 discussion] |
|||
<lang AutoHotkey>Build(D, L) { ; Double Linked list "D": D_{Head,Tail} = number>0 id of node |
<lang AutoHotkey>Build(D, L) { ; Double Linked list "D": D_{Head,Tail} = number>0 id of node |
||
Local i ; D_%number%_{P,N,V}: Prev, Next, Value, D_%Free%: next free idx |
Local i ; D_%number%_{P,N,V}: Prev, Next, Value, D_%Free%: next free idx |