Name
lassign — Assign a list of values to a list of variables
Synopsis
lassign ?value_list? ?variables?
Description
lassign emulates the TclX lassign command. It accepts
a list variables and treats the rest as a list of variable names that will
be assigned with the values in the caller's scope
# lassign {1 2 3} a b c
# set a
1
# set b
2
# set c
3