Task

Pass a function     as an argument     to another function.



Related task

   First-class functions


# this procedure executes its argument:
proc demo {function} { 
    $function 
}
# for example:
demo bell