Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
{
Factor documentation
>
Factor handbook
>
The language
>
Syntax
>
Literals
>
Array syntax
Next:
} ( -- * )
Vocabulary
syntax
Syntax
{ elements... }
Inputs and outputs
elements
a list of objects
Word description
Marks the beginning of a literal array. Literal arrays are terminated by
}
.
Examples
{ 1 2 3 }
See also
V{
,
H{
,
HS{
,
C{
,
T{
,
}
Definition
USING:
arrays
parser
;
IN:
syntax
SYNTAX:
{
\
}
[
>array
]
parse-literal
;