Handbook
Glossary
>sbuf ( seq -- sbuf )
Factor handbook
»
The language
»
Collections
»
String buffers
Prev:
sbuf? ( object -- ? )
Next:
<sbuf> ( n -- sbuf )
Vocabulary
sbufs
Inputs
seq
a
sequence
of non-negative integers
Outputs
sbuf
a
sbuf
Word description
Outputs a freshly-allocated string buffer with the same elements as a given sequence.
Errors
Throws an error if the sequence contains elements other than real numbers.
Definition
USING:
sequences
;
IN:
sbufs
:
>sbuf
( seq -- sbuf )
SBUF" "
clone-like
;
inline