Handbook
Glossary
<array> ( n elt -- array )
Factor handbook
»
The language
»
Collections
»
Arrays
Prev:
>array ( seq -- array )
Next:
1array ( x -- array )
Vocabulary
arrays
Inputs
n
a non-negative integer
elt
an initial element
Outputs
array
a new array
Word description
Creates a new array with the given length and all elements initially set to
elt
.
Definition
IN:
arrays
PRIMITIVE:
<array>
( n elt -- array )
flushable