I have an object created which belongs to particular class.
var schCom1 = Server.CreateObject(ArchiveProgID);
Now, this object gives call to method which is dynamically decided.
fnName += "(";
for (counter=0;counter<fnArgs.length;counter++)
{
if(counter > 0)
fnName += ",";
fnName += fnArgs[counter];
}
fnName += ")";
writeComment("Ready to call method:" + "schCom1." + fnName);
// according to the type of recurrance, call method
eval("schCom1."+ fnName);
Is there any substitution possible to this eval call ?
Any Help will be valuable .
Thanks in advance.
Tazim.