Syntax: let
((name
[::
type
] init
) ...
) body
Declare new locals variables with the given
name
, initial valueinit
, and optional type specificationtype
. Iftype
is specified, then the expressioninit
is evaluated, the result coerced totype
, and then assigned to the variable. Iftype
is not specified, it defaults to<object>
.
See also define-private
, and define-constant
.