Difference between revisions of "Deque.pushback"

From OpenEUO
Jump to: navigation, search
(Created page with "== Calling Pattern == Call local d = sl.deque() -- later local r = d.pushback(a) Args a is any type but nil Results r is any type == Description == Calling pushback adds a...")
 
(No difference)

Latest revision as of 17:48, 18 December 2010

Calling Pattern

Call

local d = sl.deque()
-- later
local r = d.pushback(a)

Args

a is any type but nil

Results

r is any type

Description

Calling pushback adds a value to the back of the queue. Use null in lieu of nil for nil values. Pushback returns true upon success.

Upon Error

Errors are reported and handled according to the operant error redirection mode.

See Also