Difference between revisions of "Linklist.head"

From OpenEUO
Jump to: navigation, search
(www.tribuna.com.mx campeche http://donitayou.aspone.cz/black-porn.com.html www telmex.com.mx telmex siana.com http://donitayou.aspone.cz/telemex.com.html telemex.com)
(killspam)
 
Line 1: Line 1:
www.tribuna.com.mx campeche http://donitayou.aspone.cz/black-porn.com.html www telmex.com.mx  telmex siana.com http://donitayou.aspone.cz/telemex.com.html telemex.com
+
== 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 ==
 +
 
 +
* [http://www.easyuo.com/openeuo/wiki/index.php/Simplelib simplelib]
 +
 
 +
* [[deque]]
 +
 
 +
* [[linklist]]
 +
* [[linklist.getposition]]
 +
* [[linklist.insertafter]]
 +
* [[linklist.insertbefore]]
 +
* [[linklist.length]]
 +
* [[linklist.nextlink]]
 +
* [[linklist.prevlink]]
 +
* [[linklist.removelink]]
 +
* [[linklist.returntable]]
 +
* [[linklist.setvalue]]
 +
* [[linklist.swap]]
 +
* [[linklist.tail]]
 +
* [[linklist.value]]

Latest revision as of 19: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.

See Also