Comment Re:Hmm (Score 1) 485
It constructs filenames with certain numbers; if the number is outside a certain range (0 to 9999) it uses a default, but if not, it makes a file named demo#### where #### is the number left-filled with zeros. It does this by using a common rounding trick (based on ints being truncated).
It only generates the filenames deterministically from information given it, so its just a utility function for constructing names.
It only generates the filenames deterministically from information given it, so its just a utility function for constructing names.