set-datastack ( array -- ) (original) (raw)

set-datastack ( array -- )
Factor handbook » The language » Continuations » Continuation implementation details

Prev: get-datastack ( -- array )
Next: get-retainstack ( -- array )

Vocabulary
kernel.private

Inputs

array an array

Outputs
None

Word description
Replaces the data stack contents with a copy of an array. The end of the array becomes the top of the stack.

Definition

IN: kernel.private

PRIMITIVE: set-datastack ( array -- )