Deque.popback

From OpenEUO
Revision as of 16:45, 18 December 2010 by Ximan (Talk | contribs) (Created page with "== Calling Pattern == Call local d = sl.deque() -- later local r = d.popback() Results r is any type == Description == Calling popback returns the value at the front of the...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Calling Pattern

Call

local d = sl.deque()
-- later
local r = d.popback()

Results

r is any type

Description

Calling popback returns the value at the front of the queue and removes it. If the queue is empty, popback returns nil.

Upon Error

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

See Also