Difference between revisions of "LL To Array"
m (adding doc status category stub page) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Category: | + | [[Category:Linked list library functions]] |
+ | |||
+ | == LL_To_Array(LL, indexName) == | ||
+ | |||
+ | Converts linked list «LL» to an array. | ||
+ | |||
+ | A new local index is created having a length equal to the number of items in the linked list, with the name «indexName» (i.e., «indexName» is a text parameter). | ||
+ | |||
+ | The items in the array are in the same order that they appear in the linked list, which means that they are in the reverse order from the order in which they were pushed onto the front of the linked list. | ||
+ | |||
+ | ==Library== | ||
+ | [[Linked list library]] ([[media:Linked List Library.ana|Linked List Library.ana]]) | ||
+ | :Use [[File menu|File]] → '''Add Library...''' to add this library | ||
+ | |||
+ | == See also == | ||
+ | * [[media:Linked List Library.ana|Linked List Library.ana]] | ||
+ | * [[LL_To_RArray]] | ||
+ | * [[Linked list library]] |
Latest revision as of 20:16, 24 May 2016
LL_To_Array(LL, indexName)
Converts linked list «LL» to an array.
A new local index is created having a length equal to the number of items in the linked list, with the name «indexName» (i.e., «indexName» is a text parameter).
The items in the array are in the same order that they appear in the linked list, which means that they are in the reverse order from the order in which they were pushed onto the front of the linked list.
Library
Linked list library (Linked List Library.ana)
- Use File → Add Library... to add this library
See also
Comments
Enable comment auto-refresher