/* define a function using strings */ deffunnomes(name, body) { eval(sprintf("#deffunnomes %s %s", name, body)); }