using (ScriptAPI) { AddUShort("ErrorCode"); AddByte("nPartMark"); count = AddUShort("Count"); for(i=0; i