Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
old QB Defender game - anyone want to try to bring this up to speed?
#7
Looking at the "QBDEFEND_v2.BAS":

"FNRND" function name (at very end) should be changed to "Random0" or something else througout the program. Maybe QB64 reserves "DEF FN" and anything that starts with "FN" and if not, it looks ugly calling anything starting with "FN".

One suggestion is to turn the string of "COMMON SHARED" to "DIM SHARED". "CHAIN" and "COMMON" are outdated. If this program uses another source code file it should be made part of one file, either physically or as '$INCLUDE. Using "COMMON SHARED" usually means more than one source code file with a group of the same variables to share information. But QB64(PE) requires us to bundle up those small parts into one file if at all possible, it's an inherent limitation it's had since the beginning.
Reply


Messages In This Thread
RE: old QB Defender game - anyone want to try to bring this up to speed? - by mnrvovrfc - 03-31-2023, 09:48 PM



Users browsing this thread: 2 Guest(s)