Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2008-03-22
02:22 • Closed ticket [1899962fff]: switch: 2 arg form needs documenting plus 3 othe... artifact: c3ce1c3584 user: dkf
2008-02-22
21:22 • New ticket [1899962fff]. artifact: f800f28c98 user: glennjnn

switch: 2 arg form needs documenting

Closed / Fixed1899962fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2008-02-22 21:22:59
The optimization for the 2-arg form of switch needs to be documented.  For example:

If exactly two arguments are passed to switch, the first word will be used as 'string' even if it begins with '-' and might look like an option.
dkf Closed ticket [1899962fff]. [History diff]2008-03-22 02:22:43
Log in (anonymous is fine) to add a comment.