* Mark Summerfield <
[email protected]>
| 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'
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)