Difference between revisions of "Iterator"

From OpenEUO
Jump to: navigation, search
m (Created page with "''iterator object implemented, but undocumented''")
 
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
''iterator object implemented, but undocumented''
+
== Calling Pattern ==
 +
Call
 +
local i = sl.iterator(source, func, arg[, ...])
 +
Args
 +
source    is a table, where keys and values are any type
 +
func      is a function (or a table of functions)
 +
arg0..argN (optional) are of any type
 +
Results
 +
i          is an iterator closure
 +
 
 +
== Closure Methods ==
 +
 
 +
* [[iterator.run]]
 +
 
 +
== Description ==
 +
 
 +
See [[iterator.run|run]] for a description of the operation of this object.
 +
 
 +
== See Also ==
 +
 
 +
* [http://www.easyuo.com/openeuo/wiki/index.php/Simplelib simplelib]
 +
 
 +
* [[iterator.run]]

Latest revision as of 19:29, 24 November 2010

Calling Pattern

Call

local i = sl.iterator(source, func, arg[, ...])

Args

source     is a table, where keys and values are any type
func       is a function (or a table of functions)
arg0..argN (optional) are of any type

Results

i          is an iterator closure

Closure Methods

Description

See run for a description of the operation of this object.

See Also