Difference between revisions of "Deque.pushfront"
From OpenEUO
(Created page with "== Calling Pattern == Call local d = sl.deque() -- later local r = d.pushfront(a) Args a is any type but nil Results r is any type == Description == Calling pushfront adds...") |
(No difference)
|
Latest revision as of 17:50, 18 December 2010
Calling Pattern
Call
local d = sl.deque() -- later local r = d.pushfront(a)
Args
a is any type but nil
Results
r is any type
Description
Calling pushfront adds a value to the front of the queue. Use null in lieu of nil for nil values. Pushfront returns true upon success. Deque.push is a synonym for pushfront.
Upon Error
Errors are reported and handled according to the operant error redirection mode.