Solved
Forum Discussion
VirtualWorld
11 years agoNew Contributor
Hi,
I'm trying to do the same thing in JScript but I can't seem to find a solution.
Can you please help me?
Kind regards,
Thomas
P.s. Sorry for bumping an old post.
joseph_michaud
Staff
11 years agoDoes the JScript eval method not work for you?
function mytest()
{
var name = "Test2";
eval("KeywordTests." + name + ".Run();");
}
- VirtualWorld11 years agoNew Contributor
Sorry, I didn't know of the eval function within JScript.
I'm now using the square-bracket way and it works perfectly :)
Thanks!