![]() Basically, the program has a placeholder that it uses to determine what the next data item to be read is, and it starts at the first DATA statement in the program and advances by one data item with each successive call, and you can jump back to a previous position by calling RESTORE with a label number. I now have an answer to the question posed in the last QBASIC post where I wanted to figure out how DATA worked. I learned several new programming constructs, including the RESTORE function, which allows you to reuse data declared by the DATA statement. I’ve moved past trivial programs now and am now doing some more practical graphics programming, getting closer to something that I could turn into a neat MS-DOS game. So here's to you QB: the reason why I was able to get a job after eventually deciding not to become a professor of literature.Just another update on my continuing progress with QBASIC. ![]() However all that programming practice stuck around, and now I've made my living doing the same stuff I was doing in HS: messing around trying to get some dumb game to stop crashing on a computer and cobbling together tiny snippets of code to win cheap prizes. ![]() There was so much less overhead with working with that system that it made it way faster for coding the exercises.Įventually in my second year of college I dropped my CS degree because the prospect of never being able to stop learning new marginalia was less appealing than studying philosophy, which seemed less trivial at the time. In HS, we worked on a bunch of different languages, including Pascal, Fortran77, and C.īut we always went back to QuickBasic for the competitions. I even got the equivalent of a couple of "Letters" for a letter jacket, but never got the jacket cause it wasn't my thing. When I was a kid in the 80s and early 90s, I used to do programming contests in school. user-defined functions, a better type system, and the ability to run publicly shared programs with just a URL. (Spoiler alert: it runs in the browser as well as a desktop app so it's trivial to test it out!) The end goal is to be able to write games like Gorillas and Nibbles - and so far I got a pong clone running, which means it's getting pretty close to that goal! I'm currently working on adding some needed features, like. ![]() I also wanted to mention EndBASIC ( ), a little project I've been working on and that tries to recreate a similar BASIC and MS-DOS hybrid environment. ![]() were a joy to work with (similar for Turbo C++, etc.) And the same applies to Visual Basic later on, although that's kinda out of scope for what we are discussing here.Īnyhow. QBasic's interface, integrated help, debugger, etc. It feels as if we lost that kind of integrated editor sometime in the 90s and are now only coming up to a similar level of integration. Nice article, and happy to see it on the front page! ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |