Help on passing functions to handlers

In JavaScript, the answer is exec “function”, but I cannot seem to find anywhere how to “exec” a function string passed to a Handler … have looked in Rosenthal’s book and on this BBS. It’s gotta be somewhere, but have failed to discover. EG,


someHandler(parm1, parm2, "someFunc('a', 'b', 'c')")

on someHandler(parm1, parm2, theFunctionString)

-- exec theFunctionString

end someHandler

Hi John,

what are you going to accomplish?
There is no equivalent function in AppleScript, but there is (almost) always a way to work around

Stefan:

Boy are you quick … just this instant I found the answer, namely, run script(thePassedFunctionString) … I apologize for jumping the gun and consuming your time.