Difference between revisions of "Linklist.head"
From OpenEUO
(Created page with "== Calling Pattern == Call local k = sl.linklist() -- later local n = k.head() Results n is a number == Description == Calling head returns the psuedo-index of the head of...") |
m |
||
Line 19: | Line 19: | ||
* [[linklist]] | * [[linklist]] | ||
− | * [[linklist. | + | * [[linklist.getposition]] |
* [[linklist.insertafter]] | * [[linklist.insertafter]] | ||
* [[linklist.insertbefore]] | * [[linklist.insertbefore]] |
Revision as of 13:42, 18 December 2010
Calling Pattern
Call
local k = sl.linklist() -- later local n = k.head()
Results
n is a number
Description
Calling head returns the psuedo-index of the head of the list. If the list is empty, then head returns 0.