Forum Discussion

Cujo's avatar
Cujo
Occasional Contributor
8 years ago
Solved

Need help understanding testcomplete vbscript code

I am looking through some existing code. What does this below piece code means? what exactly eval is doing here? i read that eval is used to evaluate any expression. 

 

Public Function Perform(moduleCode, input, output)
     Perform = eval(moduleCode & "(input, output)")
End Function