Difference between revisions of "Linklist.tail"

From OpenEUO
Jump to: navigation, search
(Created page with "== Calling Pattern == Call local k = sl.linklist() -- later local n = k.tail() Results n is a number == Description == Calling tail returns the psuedo-index of the tail of...")
 
(No difference)

Latest revision as of 14:43, 18 December 2010

Calling Pattern

Call

local k = sl.linklist()
-- later
local n = k.tail()

Results

n is a number

Description

Calling tail returns the psuedo-index of the tail of the list. If the list is empty, then tail returns 0.

See Also