def wipeChain(clus)
      loop do
        nxt = getFatEntry(clus)
        putFatEntry(clus, 0)
        break if nxt == 0 # A 0 entry means FAT is inconsistent. Chkdsk may report lost clusters.
        break if nxt == CC_DAMAGED # This should never happen but if it does allow clusters to become lost.
        break if nxt > CC_END_OF_CHAIN
        clus = nxt
      end
    end
def wipeChain(clus)
      loop do
        nxt = getFatEntry(clus)
        putFatEntry(clus, 0)
        break if nxt == 0 # A 0 entry means FAT is inconsistent. Chkdsk may report lost clusters.
        break if nxt == CC_DAMAGED # This should never happen but if it does allow clusters to become lost.
        break if nxt > CC_END_OF_CHAIN
        clus = nxt
      end
    end
Deallocate all clusters on a chain from a starting cluster number.