Difference between revisions of "LL First"

m (adding doc status category stub page)
 
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Doc Status D]] <!-- For Lumina use, do not change -->
+
[[Category: Linked list library functions]]
 +
 
 +
== LL_First(LL) ==
 +
 
 +
Returns the first item in a linked list. An error will be issued if the link list is empty (i.e., if «LL» is [[Null]]). The first item is the item most recently pushed onto the list.
 +
 
 +
«LL» must be a [[Linked list library|linked list]], constructed from a call to [[LL_Push]]. This function is not applicable to lists.
 +
 
 +
To use this function, you must add the [[Linked list library]] to your model.
 +
 
 +
==Library==
 +
[[Linked list library]] ([[media:Linked List Library.ana|Linked List Library.ana]])
 +
:Use [[File  menu|File]] &rarr; '''Add Library...''' to add this library
 +
 
 +
== See also ==
 +
* [[media:Linked List Library.ana|Linked List Library.ana]]
 +
* [[Linked list library]]
 +
* [[LL_Remove_First]] -- returns the remainder of the linked list, not including the first item.
 +
* [[LL_Push]]
 +
* [[LL_Nth]]

Latest revision as of 19:58, 24 May 2016


LL_First(LL)

Returns the first item in a linked list. An error will be issued if the link list is empty (i.e., if «LL» is Null). The first item is the item most recently pushed onto the list.

«LL» must be a linked list, constructed from a call to LL_Push. This function is not applicable to lists.

To use this function, you must add the Linked list library to your model.

Library

Linked list library (Linked List Library.ana)

Use FileAdd Library... to add this library

See also

Comments


You are not allowed to post comments.