[let
Factor documentation > Factor handbook > The language > Lexical variables
Prev:MACRO::
Next::>


Vocabulary
locals

Syntax
[let code :> var code :> var code... ]


Word description
Establishes a new scope for lexical variable bindings. Variables bound with :> within the body of the [let will be lexically scoped to the body of the [let form.

Examples
See Examples of lexical variables.

See also
:>

Definition
USING: locals.parser sequences ;

IN: locals

SYNTAX: [let parse-let append! ;