Hi keybone,
as far as usefulness goes, to each their own, its not really worth even thinking about, you might think its not useful but another person will...
Usually, if I don't see something as useful but ask, the person gives me a clue as to how they would use it, and then (usually) things makes sense to me.
It is very much worth it to me to see how the other person is thinking, I might learn something that comes in useful later on... who knows?
I confess I am still in dark as to how you would use this count? Is this counting code run every time you run the bas file or are running from a bas project manager file that oversees a bunch of bas and other files.
If these questions and comments are annoying, forget about it, my aim is to understand NOT annoy.
Dude, u weren't annoying me. Its all good...
this is how im using it...
each running .bas file in this thing updates the same build file, the same version number... So if I press run in the ide, and I have 2 open, and I press run in the other one too, the that will be 2 builds... every time you press run, in increases the build number.
The usefulness is simply this, it prevents you from arbitrarily having to assign your program a version number, no more my program seems mostly done ill call this version 1.0.... the way i have it set up version 1.0 is build 1000 (which is probably more than enough. i began count automatically from the very beginning).
It simply ends up like this: one day ill release something it will be something like X-GUI 5 Version .70 (Build 700)... Or i can just call it Build 700 or whatever. On the flipside, when the program is actually at a 1.0 state, I can change the version back to 1.0 and adjust the number of builds required, then from that point on it might take 778 builds to go up a major version, or 1043 for that matter. I could change it again and again and again, and it doesnt really matter, it will never conflict (i.e there could be version 1.0 (build 1000) that is nowhere near a real 1.0 state... When it finally does get to a 1.0 state at maybe build 1553, i can just change that to version 1.0 Build 1553, it could be known that 1.0 build 1000 was crap :D and is now like version 0.66 Build 1000 now. :D
Oh also, this will count also every time it runs... In order to stop that, you have to either remove it, or set a flag that signifies youre running not building. i might find a way to do that automatically.