I have a habit of saving files with a version suffix.; ie. TESTv1.BAS.
I do that with just about anything that I edit.
Robert
I have a habit of saving files with a version suffix.; ie. TESTv1.BAS.
I do that with just about anything that I edit.
Robert
I do the same thing too. But wouldn't it be nice to have a "running" list of the compiled file so all your changes can be reviewed when you screw up?I have a habit of saving files with a version suffix.; ie. TESTv1.BAS.
At least that's what I think Archangel is talking about.
Louie
Hey, Louie, how did you guess my middle name ?
That's what I want, to generate a unique file name every time it compiles.
Joemessedup.bas
Joemessedup1.bas
Joemessedup2.bas . . .
Joemessedup247.bas
I have programs which do this if they encounter an existing file name that's exactly the same as the one I am saving. Down them all is one and I also recommend it too.
Last edited by Archangel; - 23rd October 2013 at 03:15.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Hi guys,
Look up this old thread: http://www.picbasic.co.uk/forum/showthread.php?t=8960
It does pretty much what you need. And thankfully, the serializer utility discussed in that thread is also still available online.
Hope this helps!
Thanks for the link ardhuru.
Eager to try it out has me trying find where to put the "vclsmp50.bpl" file.
I extracted the three files to one folder and tried to open the application but won't because "Vcl50.bpl" was not found.
Alain mentioned this file should be copied to the utility Directory but that's where I got lost and just glad to make it out alive.![]()
Louie
Okay got it running with info from Alain on other thread:
Didn't get it working completely but can tell it's not what I thought it would be. Seems to only keep a running "counter", with other info, of the compiled file.Also, Do not forget to add :
VCL50.BPL
VCLX50.BPL
in the utility Directory ...
those can be found on the WEB ...
Then just add INCLUDE " C\...\Serinfo.bas" to the top of the BASIC file :
Thought it would keep a list of all the same name files, same as "Save As", like Joe mentioned.
Unless! I'm doing something wrong again...
Louie
Bookmarks