using(ScriptAPI) { count = AddUShort("Count"); AddUShort("ObjHandle"); for(i=0; i