Difference between revisions of "Linklist.head"
From OpenEUO
(www.bigbra.blogspot.com http://richardbaes9.angelfire.com/ www.bigbra.blogspot.com www.deviant clip.com http://richardbaes9.angelfire.com/drunkenbi.com-free-clip.html www.grayhound bus line.com) |
(killspam) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | == 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. | ||
== See Also == | == See Also == |
Latest revision as of 18:36, 15 July 2012
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.