Solved
Forum Discussion
VirtualWorld
10 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
10 years agoDoes the JScript eval method not work for you?
function mytest() { var name = "Test2"; eval("KeywordTests." + name + ".Run();"); }
- VirtualWorld10 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!