qbasic won't start
Posted: Thu Nov 08, 2018 10:26 am
Hi - brand new user to qbasic, not having any success. At all.
When I run Qbasic, it opens with a long program - I think it's called snakes, or something. Instructions say to press Alt/F5 to run it; when I do, I get nothing. When I click on the compile/run button in the upper left, the program runs, and presents me with an opening screen; it invites me to press any key to start. Well, that doesn't work; no key moves me beyond that screen. The only way to get out of that screen is to shut the program down, and restart qbasic. It appears that qbasic isn't recognizing my wireless logitech keyboard, although it sees the companion mouse. The keyboard works for every other app - I'm using it to type this.
So, I deleted the program listing, and gave it something simple:
Print "hello world" (Note that the text editor recognized my keyboard)
...and, I got Error at 1:1: Call to undefined sub "print"
So I tried something even simpler:
Rem This is a test
...and, I got a pile of at least 11 pretty cryptic error messages. They filled the screen from top to bottom, I couldn't find a way to scroll the screen, and I couldn't highlight and copy the text to paste it here.
Man. The whole reason I chose BASIC was that I wanted a language I had some familiarity with. But this sure isn't QBasic from the DOS days.
So: I'd like to know how I can start QBasic without that stupidly long snakes program. Just a blank text screen.
And, I guess that if I can't make really simple commands like Rem and Print work, I'm gonna need a tutorial. Kwap. Any suggestions?
Thanks - Charlie
When I run Qbasic, it opens with a long program - I think it's called snakes, or something. Instructions say to press Alt/F5 to run it; when I do, I get nothing. When I click on the compile/run button in the upper left, the program runs, and presents me with an opening screen; it invites me to press any key to start. Well, that doesn't work; no key moves me beyond that screen. The only way to get out of that screen is to shut the program down, and restart qbasic. It appears that qbasic isn't recognizing my wireless logitech keyboard, although it sees the companion mouse. The keyboard works for every other app - I'm using it to type this.
So, I deleted the program listing, and gave it something simple:
Print "hello world" (Note that the text editor recognized my keyboard)
...and, I got Error at 1:1: Call to undefined sub "print"
So I tried something even simpler:
Rem This is a test
...and, I got a pile of at least 11 pretty cryptic error messages. They filled the screen from top to bottom, I couldn't find a way to scroll the screen, and I couldn't highlight and copy the text to paste it here.
Man. The whole reason I chose BASIC was that I wanted a language I had some familiarity with. But this sure isn't QBasic from the DOS days.
So: I'd like to know how I can start QBasic without that stupidly long snakes program. Just a blank text screen.
And, I guess that if I can't make really simple commands like Rem and Print work, I'm gonna need a tutorial. Kwap. Any suggestions?
Thanks - Charlie