* Mark Summerfield <m.n.summerfield@gmail.com>
| oo::define Store method add {args} {
| puts "action: adding [llength $args] new files"
| $Reporter "adding [llength $args] new files"
| }
--<snip-snip>--
| Actual output:
| action: adding 3 new files
| invalid command name "::apply {message { puts "reporter: $message" }}"
Note that I have no experience with lambda(n), but the error message
sounds like you need
{*}$Reporter "adding ..."
when calling the reporter (i.e. expand the command being called).
HTH
R'
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 1,064 |
Nodes: | 10 (0 / 10) |
Uptime: | 163:56:30 |
Calls: | 13,691 |
Calls today: | 1 |
Files: | 186,936 |
D/L today: |
9,208 files (2,741M bytes) |
Messages: | 2,411,516 |