RosettaCodeData/Task/Higher-order-functions/Tcl/higher-order-functions-1.tcl
2023-07-01 13:44:08 -04:00

6 lines
104 B
Tcl

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