alexif in java I do something like this
function ConsumingProc()
{
var oDic = new ActiveXObject("Scripting.Dictionary");
oDic = Project.Variables.aPrjVarDic;
// use oDic now
oDic.Add("k1","i1");
}
I would already get an exceptio, as the statemen
oDic = Project.Variables.aPrjVarDic;
would change oDic from a dictionary object to an undefined object
If I add the statement
Project.Variables.aPrjVarDic = new ActiveXObject("Scripting.Dictionary");
then the following statement won´t give error
oDic.Add("k1","i1");
for (var el in oDic)
log.Message(el);
But the script will never go into the for loop and no message would be printed (actually, this happens indipendently from the assignment to oDict of the project object variable...).
Davidusing a Table variable, I think I´d have the following problem:
let say I have this
Project.Variables.mTable of the type table
and the table has two columns (say tabKeys and tabItems) , can I make a call like
Project.Variables.mTable[key1] to fetch the corrisponding item1 ?
PS
I cannot open your links