Execute function

Dear all

Do you know if there is a way to make something similar to this but with a Function?

string name
name="Macro xxx"
Execute name

Thanks

Simone
Do you mean something like this (no offense but: "??!?")
in the procedure window (ctrl-m)
function test(name)
string name
Execute name
end


and in the command window (ctrl-j)
test("print 6*7")
test("print atan(pi/2)")


but why would want to do it? Maybe there are better solutions if you explain your problem with more context.
HJ