get-datastack ( -- array ) (original) (raw)
get-datastack ( -- array )
Factor handbook » The language » Continuations » Continuation implementation details
Prev: | >continuation< ( continuation -- data call retain name catch ) |
---|---|
Next: | set-datastack ( array -- ) |
Vocabulary
kernel
Inputs
None
Outputs
array | an array |
---|
Word description
Outputs an array containing a copy of the data stack contents right before the call to this word, with the top of the stack at the end of the array.
Definition
: get-datastack ( -- array ) context datastack-for ; inline