删除数据文件中重复的数据,咋就不行呢
Open App.Path & "\data.dat" For Random As #1 Len = Len(cutter)lastrecord = LOF(1) / Len(cutter)
For i = 1 To lastrecord
Get #1, i, cutter
For j = i + 1 To lastrecord
Get #1, j, cutter
If i = j Then
For k = j + 1 To lastrecord
Get #1, k, cutter
Put #1, k - 1, cutter
Next k
lastrecord = lastrecord - 1
End If
Next j
Next i