Puckdropper
*Qb64 fails, can't get it to compile
Mon Dec 27, 2021 3:00pm

It starts with an error about expected call sub-name () on line 417. The line is "CALL ClearKbBuffer"

I wonder if it's either an include that is missing or if qb64 doesn't like declared but not defined subs?

If I comment that line, the next error is the same line later on. Then it gets into some type conversion errors.


  • I use QB4.5 and DOSBox on my modern computer. - Erik_, Sat Dec 25 2021 2:58am
    I think QB64 should probably work as well as they're big on backwards compatibility but I haven't really messed around with that as much. The debugger was worse than just running the OG QB45 and DOSbox so I haven't spent much time on it. QB4.5: http://nukementerprises.puckdroppersplace.us/files/... more
    • *Qb64 fails, can't get it to compile- Puckdropper, Mon Dec 27 2021 3:00pm
      • Hmm. I'm guessing I'm doing some weird string to int - Erik_, Tue Dec 28 2021 12:43pm
        conversion somewhere. I try to suffix my variables with the appropriate marker and also set "DEFINT A-Z". Most things should be INTs.. I might have a string to int thing going on somewhere that QB is okay with but QB64 isn't. The ClearKbBuffer might also be a problem. I don't know if QB64 allows... more
        • QB64 probably is trying to run BASIC as a language - Puckdropper, Thu Dec 30 2021 8:44am
          where the PEEK and POKEs are directly accessing the machine. Dosbox works because it emulates the whole machine. I also noticed QB64 doesn't have a definition for ClearKBBuffer (I guess that's in helpers.bas [I don't remember the name]) but QB45 did.
          • I managed to get it to some-what run in QB64. - Erik_, Thu Jan 13 2022 3:03pm
            I had to copy in the contents of HELPERS.BAS into XMAS2021.BAS. I also had to add a "CHDIR" to the current directory at the start of the code. It loaded up and the sound actually works. The problem is, it doesn't read any of the sprite data that was saved as binary using BSAVE and loaded with BLOAD.... more
            • It almost seems like COBOL did better than QB64 - Puckdropper, Sat Jan 15 2022 6:07pm
              QB64 just seems so hard to mess with. I get nostalgia, but there's nothing wrong with making things better. I just tried to open the .mak file and got a "file not found" error and when I went back to try again I would have had to renavigate back to the folder with the files. It is amazing, though,... more
              • I think that's only because mine is... - Erik_, Mon Jan 17 2022 1:16am
                actually an QB interpretter where QB64 compiles the QB code into a binary and runs it. Also, CBI doesn't care about any errors interpretting once it does it's basic sanity pass before starting the program. Basically, anything that's not explicitly programmed for is "undefined" behavior.. whether it's... more
          • Yeah ClearKbBuffer is in helpers.bas - Erik_, Thu Dec 30 2021 2:53pm
            Might just be that QB64 doesn't read the .MAK file for includes.. or doesn't support it. Is there an option in the file menu to load a file like in QB? Maybe it just needs to be manually done?
    • I tried "QBasic" in the Windows Store - Puckdropper, Mon Dec 27 2021 11:39am
      It didn't work. The program should never have been there in the first place, it doesn't work. DOSBox ran great, but took a bit to get it set up. I don't understand the Linux "configure this manually first" rather than the Windows Configuration Wizard. Now, when I got to level 3, with 5 sprites... more
      • I actually posted about that on Pete's QB Site - Erik_, Mon Jan 03 2022 2:17am
        a while ago. I don't have a Windows computer (besides 3.11) that I could test it out on though. The people that replied said it was terrible. It was basically a tech demo passed off as a final product. I also heard it was only text based if you could get it running. Sounds like it was about as finished... more
        • I couldn't get anything really working at all. - Puckdropper, Mon Jan 17 2022 9:22am
          It's kinda like someone started copying by taking the look of QB, then didn't do any of the hard bits... like making things actually compile. I couldn't find a way to actually run a program.
Click here to receive daily updates
"Forces act when not restrained" - Puckdropper