Handbook
Glossary
1array ( x -- array )
Factor handbook
»
The language
»
Collections
»
Arrays
Prev:
<array> ( n elt -- array )
Next:
2array ( x y -- array )
Vocabulary
arrays
Inputs
x
an
object
Outputs
array
an
array
Word description
Create a new array with one element.
See also
2array
,
3array
,
4array
Definition
USING:
kernel
;
IN:
arrays
:
1array
( x -- array )
1
swap
<array>
;
inline