I have a program that writes files to a specific folder. Each of these files are numbered (so as to have an "idenification" number). Is there a way to number them out of order? That is, I have it set up that it is assigned the number = number of files already created plus one.(due to it starts with zero)
Say somewhere along the line some of the files are deleted, is there a way to us a boolean or something in order to seek out the largest number already assigned
and assign the next file the next number? (so no file is assigned the same number).