Name
lassign
- lassign
list var
... Assign successive elements of a list to specified variables. If there are more variable names than fields, the remaining variables are set to the empty string.
If there are more elements than variables, a list of the unassigned elements is returned.
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.