Falcon 9 Landing Game
#9
(09-27-2022, 05:07 PM)ChiaPet Wrote: Is it necessary to close sound files and frees images before terminating
the program with SYSTEM? Thought SYSTEM freed up everything.

As always from Terry, it's mighty interesting code to study, made much
easier with meaningful variable names and tidy comments.

To tell the truth I'm not sure what SYSTEM does upon exit. I've always taken the opinion that cleaning up RAM before a program exits is best practice. Can someone with knowledge of the underlying C code chime in on this? Is garbage collection taken care of properly when a QB64 program exits?

I got into the habit of over-commenting source code when I used to dabble in Assembler many years ago. The comments are more for me than anything else. It amazes me how hard it is to decipher my own un-commented code from even a year earlier. A quick stroll through my comments brings me up to speed pretty quick.
Reply


Messages In This Thread
Falcon 9 Landing Game - by TerryRitchie - 09-26-2022, 10:27 PM
RE: Falcon 9 Landing Game - by RhoSigma - 09-26-2022, 11:04 PM
RE: Falcon 9 Landing Game - by James D Jarvis - 09-26-2022, 11:09 PM
RE: Falcon 9 Landing Game - by TerryRitchie - 09-27-2022, 02:32 AM
RE: Falcon 9 Landing Game - by Pete - 09-27-2022, 02:50 AM
RE: Falcon 9 Landing Game - by ChiaPet - 09-27-2022, 05:07 PM
RE: Falcon 9 Landing Game - by TerryRitchie - 09-27-2022, 07:03 PM
RE: Falcon 9 Landing Game - by bplus - 09-27-2022, 05:22 PM
RE: Falcon 9 Landing Game - by james2464 - 09-27-2022, 05:40 PM
RE: Falcon 9 Landing Game - by TerryRitchie - 09-27-2022, 07:19 PM
RE: Falcon 9 Landing Game - by Pete - 09-27-2022, 08:02 PM
RE: Falcon 9 Landing Game - by TerryRitchie - 09-28-2022, 07:49 PM
RE: Falcon 9 Landing Game - by Pete - 09-28-2022, 08:17 PM



Users browsing this thread: 11 Guest(s)