|
2007-10-27
| ||
| 20:52 | • Closed ticket [1811791fff]: apply(n) man page: example has bug plus 3 other ... artifact: edd09a4ffa user: msofer | |
|
2007-10-18
| ||
| 03:39 | • Ticket [1811791fff]: 1 change artifact: 7132d03d3a user: dgp | |
|
2007-10-12
| ||
| 02:42 | • Ticket [1811791fff]: 2 changes artifact: a24189b812 user: msofer | |
|
2007-10-11
| ||
| 19:33 | • New ticket [1811791fff]. artifact: 54f9910311 user: glennjnn | |
apply(n) man page: example has bug
Closed / Fixed1811791fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-10-11 19:33:45
This relates to the last example in the apply man page:
trace add variable vbl write {apply {v1 v2 op} {
upvar 1 $v1 v
puts "updated variable to \"$v\""
}}
As apply takes as its first argument a 2-argument list, isn't that example missing a pair of braces?
trace add variable vbl write {apply {{v1 v2 op} {
upvar 1 $v1 v
puts "updated variable to \"$v\""
}}}
msofer Ticket [1811791fff]: 2 changes
[History diff]2007-10-12 02:42:13
dgp Ticket [1811791fff]: 1 change
[History diff]2007-10-18 03:39:00
msofer Closed ticket [1811791fff].
[History diff]2007-10-27 20:52:27
Log in (anonymous is fine) to add a comment.