Anonymous user
Doubly-linked list/Element definition: Difference between revisions
Doubly-linked list/Element definition (view source)
Revision as of 05:29, 28 August 2016
, 7 years ago→{{header|REXX}}: changed boxed comments.
m (→{{header|REXX}}: moved comment box outside of program, elided OVERFLOW from the html PRE tag.) |
m (→{{header|REXX}}: changed boxed comments.) |
||
Line 654:
=={{header|REXX}}==
REXX doesn't have linked lists, as there are no pointers (or handles).
<br>However, linked lists can be simulated with lists in REXX.▼
▲However, linked lists can be simulated with lists in REXX.
╔═════════════════════════════════════════════════════════════════════════╗
║ ║
║ ║
▲ │ @get k,m ─── returns the M items starting with the Kth item. │
║ ║
╚═════════════════════════════════════════════════════════════════════════╝
▲ └─┐ ┌─┘
<lang rexx>/*REXX program that implements various List Manager functions. */
call sy 'initializing the list.' ; call @init
|