Difference between revisions of "LL To Array"

Line 1: Line 1:
== LL_To_Array( LL, indexName ) ==
+
== LL_To_Array(LL, indexName) ==
  
Converts a linked list 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.
+
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.
  
 
== See also ==
 
== See also ==
 
 
* [[LL_To_RArray]]
 
* [[LL_To_RArray]]
 +
* [[Linked list library]]

Revision as of 02:07, 29 January 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.

See also

Comments


You are not allowed to post comments.