Difference between revisions of "LL First"
Line 11: | Line 11: | ||
==Library== | ==Library== | ||
[[Linked list library]] ([[media:Linked List Library.ana|Linked List Library.ana]]) | [[Linked list library]] ([[media:Linked List Library.ana|Linked List Library.ana]]) | ||
− | :Use | + | :Use [[File menu|File]] → '''Add Library...''' to add this library |
== See also == | == See also == |
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 File → Add Library... to add this library
See also
- 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
Comments
Enable comment auto-refresher