From: SourceForge.net <no...@so...> - 2007-10-11 19:33:51
|
Bugs item #1811791, was opened at 2007-10-11 15:33 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1811791&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 16. Commands A-H Group: current: 8.5b1 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Glenn Jackman (glennjnn) Assigned to: Donal K. Fellows (dkf) Summary: apply(n) man page: example has bug Initial Comment: 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\"" }}} ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1811791&group_id=10894 |