Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-10-22
10:33 • Closed ticket [830464ffff]: Tcl(n) refers to the command 'set' plus ... artifact: 835b8116b9 user: msofer
2003-10-27
21:26 • Ticket [830464ffff]: 4 changes artifact: b4749193b7 user: dkf
2003-10-26
12:45 • New ticket [830464ffff]. artifact: 0804a21ed8 user: msofer

Tcl(n) refers to the command 'set'

Closed / Invalid830464ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 21 years ago
Descriptionplain2003-10-26 12:45:11
The Tcl(n) manpage describes the syntax of Tcl,and
should not contain references to any specific commands.
The rule on "Substitution and word boundaries" contains
the following phrase:
    Thus, a sequence like set y  [set x 0][incr x][incr
x] will always set the       
    variable y to the value 012.
I think it would be appropriate to change the example to
    Thus, a sequence like cmd [set x 0][incr x][incr x]
will always invoke the
    command cmd with the argument 012.
dkfplain2003-10-27 21:26:40
Logged In: YES 
user_id=79902

Your rewording doesn't make things much less dependent on
[set] and [incr] as you still need the behaviour of [set]
and [incr] to get the described argument to the command.
msofer Closed ticket [830464ffff]. [History diff]2005-10-22 10:33:33
Log in (anonymous is fine) to add a comment.