Skip to content
Tcl Source Code View Ticket
Login

View Ticket

[lassign] syntax

Closed / Accepted1671880fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 18 years ago
Descriptionplain2007-03-01 17:25:32
[lassign] currently requires
at least one varName argument.

The [lassign] operation is perfectly
well-defined for the zero varNames
case.  Allowing that would also permit

  lassign $list {}$varNameList

without the need to protect against
a possibly empty list in $varNameList.
dkf Ticket [1671880fff]: 1 change [History diff]2008-01-16 05:56:07
dgpplain2008-10-24 01:15:39
part of TIP 323
Log in (anonymous is fine) to add a comment.