Difference between revisions of "LL Push"
m (adding doc status category stub page) |
|||
Line 1: | Line 1: | ||
[[Category:Doc Status D]] <!-- For Lumina use, do not change --> | [[Category:Doc Status D]] <!-- For Lumina use, do not change --> | ||
+ | |||
+ | == LL_Push( LL, x ) == | ||
+ | |||
+ | Pushes «x» onto the front of the linked list «LL», returning a new linked list with one element more than the original «LL». «LL» itself is not changed. This function is part of the [[Linked list library]]. You can use this function to build up a collection of items when you don't know in advance how many items there will be. | ||
+ | |||
+ | To use this function, you must use '''Add Library...''' on the '''File''' menu to add the [[Linked list library]] to your model. For more on the use of linked lists, see [[Linked list library]]. | ||
+ | |||
+ | |||
+ | == Examples == | ||
+ | |||
+ | :<code>LL_Push( null, 'a' )</code> | ||
+ | |||
+ | == See also === | ||
+ | |||
+ | * [[Linked list library]] | ||
+ | * [[LL_To_RArray]] | ||
+ | * [[LL_To_Array]] | ||
+ | * [[LL_Remove_First]] | ||
+ | * [[Subset]] | ||
+ | * [[Slice assignment]] |
Revision as of 19:55, 28 January 2016
LL_Push( LL, x )
Pushes «x» onto the front of the linked list «LL», returning a new linked list with one element more than the original «LL». «LL» itself is not changed. This function is part of the Linked list library. You can use this function to build up a collection of items when you don't know in advance how many items there will be.
To use this function, you must use Add Library... on the File menu to add the Linked list library to your model. For more on the use of linked lists, see Linked list library.
Examples
LL_Push( null, 'a' )
See also =
Comments
Enable comment auto-refresher