Handbook
Glossary
2array ( x y -- array )
Factor handbook
»
The language
»
Collections
»
Arrays
Prev:
1array ( x -- array )
Next:
3array ( x y z -- array )
Vocabulary
arrays
Inputs
x
an
object
y
an
object
Outputs
array
an
array
Word description
Create a new array with two elements, with
x
appearing first.
See also
1array
,
3array
,
4array
Definition
USING:
sequences
;
IN:
arrays
:
2array
( x y -- array )
{
}
2sequence
;
inline