Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-11-11
00:23 • Closed ticket [635644ffff]: missing info in Tcl.n plus 6 other changes artifact: 6deea07e72 user: kennykb
2002-11-08
19:05 • New ticket [635644ffff]. artifact: 19e2c61f65 user: msofer

missing info in Tcl.n

Closed635644ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-11-08 19:05:39
The endekalogue does not say that the parsing and
substitution is always performed "from left to right".
It does not imply a guarantee that
    set n 0
    puts "[incr n],[incr n],[incr n]"
writes out "1,2,3" and not e.g. "3,1,2" 

This should be guaranteed - or else a lot of stuff may
break whenever a substitution has side effects.
kennykbplain2002-11-11 00:23:46
Logged In: YES 
user_id=99768

The left-to-right behavior is indeed guaranteed.  Tcl.n has been updated to reflect the fact.
Log in (anonymous is fine) to add a comment.