04-29-2022, 09:16 AM
Curious. Let's say I have pete.exe, a perfectly great file on my PC.
Oops, I finds one lil' bug.
Okay, so I'z opens pete.bas, fixes that thar bug, and hits Run, only bys mistake, cuz I'm a dumb idgit!
So -samlang aside, did I just murder the existing Pete bas, or some intermediary temp.exe that just never gets renamed as pete.bas?
So either of these two models reflective of the compilation method?
START =
pete.bas > ~temp.exe > pete.exe
RUN =
pete.bas > ~temp.exe > remove ~temp.exe (the orig pete.exe is left intact.)
or
START =
pete.bas > pete.exe
RUN =
pete.bas > pete.exe > remove pete.exe (the original pete.exe is now gone.)
----------------------------------
I would think the first model to be preferable, and maybe QB64 is set up that way with START, already. If not, it's more of a can of worms, and perhaps just a notation in the wiki about the possible loss of the existing .exe should be explained.
Like my mama told me, It's always something! (Oops, changing charters in mid post, again!)
Pete
PS Love this idea, no mater how it works out. It will be a real clutter saver! Kudos to you for adding it, and kudos to @dcromley for asking if this could be added.
Oops, I finds one lil' bug.
Okay, so I'z opens pete.bas, fixes that thar bug, and hits Run, only bys mistake, cuz I'm a dumb idgit!
So -samlang aside, did I just murder the existing Pete bas, or some intermediary temp.exe that just never gets renamed as pete.bas?
So either of these two models reflective of the compilation method?
START =
pete.bas > ~temp.exe > pete.exe
RUN =
pete.bas > ~temp.exe > remove ~temp.exe (the orig pete.exe is left intact.)
or
START =
pete.bas > pete.exe
RUN =
pete.bas > pete.exe > remove pete.exe (the original pete.exe is now gone.)
----------------------------------
I would think the first model to be preferable, and maybe QB64 is set up that way with START, already. If not, it's more of a can of worms, and perhaps just a notation in the wiki about the possible loss of the existing .exe should be explained.
Like my mama told me, It's always something! (Oops, changing charters in mid post, again!)
Pete
PS Love this idea, no mater how it works out. It will be a real clutter saver! Kudos to you for adding it, and kudos to @dcromley for asking if this could be added.
Shoot first and shoot people who ask questions, later.