Doubly-linked list/Traversal: Difference between revisions

Added Axe
(Added Axe)
Line 198:
=={{header|AutoHotkey}}==
see [[Doubly-linked list/AutoHotkey]]
 
=={{header|Axe}}==
<lang axe>LINK(L₁,1)→A
LINK(L₁+10,1)→B
LINK(L₁+50,1)→C
INSERT(A,B)
INSERT(A,C)
 
A→I
While I≠0
Disp VALUE(I)▶Dec,i
NEXT(I)→I
End
 
Disp "-----",i
 
B→I
While I≠0
Disp VALUE(I)▶Dec,i
PREV(I)→I
End</lang>
 
=={{header|BBC BASIC}}==
Anonymous user