预逻辑脚本代码:
uniqueList = [] def isDuplicate(inValue): if inValue in uniqueList: return 1 else: uniqueList.append(inValue) return 0
调用:
isDuplicate( ! [NAME] ! )
预逻辑脚本代码:
uniqueList = [] def isDuplicate(inValue): if inValue in uniqueList: return 1 else: uniqueList.append(inValue) return 0
调用:
isDuplicate( ! [NAME] ! )