07-22-2020, 03:44 PM
In order to avoid #1, I always have a variable that I use to store a numerical value that is a whole number, but not restrained to a short range of numbers as declaring an integer sometimes is, and I initialize it at 0. Then whenever I need a number bigger than the last instance, I simply increment it, and copy it's value to whatever I need to use it for,
Subliminal Audio Specialist & Administrator
The scientist has a question to find an answer for. The pseudo-scientist has an answer to find a question for. ~ "Failure is the path of least persistence." - Chinese Fortune Cookie ~ Logic left. Emotion right. But thinking, straight ahead. ~ Sperate supra omnia in valorem. (The value of trust is above all else.) ~ Meowsomeness!
The scientist has a question to find an answer for. The pseudo-scientist has an answer to find a question for. ~ "Failure is the path of least persistence." - Chinese Fortune Cookie ~ Logic left. Emotion right. But thinking, straight ahead. ~ Sperate supra omnia in valorem. (The value of trust is above all else.) ~ Meowsomeness!