Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-10-24
01:15 • Closed ticket [1671880fff]: lassign syntax plus 7 other changes artifact: da0babd2ae user: dgp
2008-01-16
05:56 • Ticket [1671880fff]: 1 change artifact: dd5049272a user: dkf
2007-03-01
17:25 • New ticket [1671880fff]. artifact: 3f4f862f74 user: dgp

[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.