Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
5 answers
301 views

I'm using gw-basic to determine a person's weight on another planet. I need to form a comparison between the weight factor on a planet to the planet that the user inputs. I have defined my planets so ...
Sam H's user avatar
  • 17
2 votes
2 answers
105 views

I'm having trouble with a program I am trying to write for my PCjr, where I need to pause the program for an amount of time before running the next instruction. Here it is: 10 CLS 20 PRINT "|&...
0 votes
1 answer
148 views

I'm trying to code a simple GW Basic chatbot that reads keywords and replies and default replies from a text file. Here is the example DATABASE.TXT file ============= GW BASIC CHATBOT DATABASE ========...
ron77's user avatar
  • 1
0 votes
1 answer
229 views

I got the original version of this program from a computer magazine. It asked for an Arabic number ranging from 1 to 3999 and converted it into the Roman equivalent. That worked flawlessly. Now I want ...
AlCon's user avatar
  • 21
1 vote
1 answer
128 views

' Define the subroutine SUB MySubroutine PRINT "Hello, world!" END SUB ' Call the subroutine CALL MySubroutine I wanted to try and make TetrisTetris in qbasic but I'm trying to figure ...
3 votes
2 answers
1k views

I am trying to write a program for adding the natural numbers from 1 to n (1 + 2 + 3 + ... + n). However, the sum appears 1 when I use if statement. And when I use for-next statement there is a syntax ...
1 vote
2 answers
992 views

I am using GWBASIC and cannot figure out a few things. Like, when I'm saving a program after running it with F4, it says: File not found. Secondly, when I'm using auto command it shows * with line ...
SidraM's user avatar
  • 305
2 votes
0 answers
695 views

I have an old file which I'd like to read its code. The file has no extension. Right click + open with notepad gives me something like that : 1 N¦öêS‚ `šØ3ドル⁄4Œ2 € ...
manny-'s user avatar
  • 127
2 votes
4 answers
257 views

I'm writing a program in GW-BASIC. For some reasons, I have the following error : "Numéro de fichier illégal en 4712" which can be translated in english by, " illegal file number in 4712" Here is ...
4 votes
5 answers
858 views

I'm writing a program in Qbasic. I'd like to know how to test if a folder exists. The idea is: IF "c:\user\basic\blablabla\" exists (?? how to programm the "exist" test?) THEN CHDIR "c:\user\basic\...
1 vote
1 answer
169 views

I have a .bas file that I run using GWBASIC.EXE The .bas file uses other files located in the path : \srv120 (T:)\Basic (GWBASIC.EXE and the .bas file are also in the same directory T\Basic) In the ...
6 votes
1 answer
245 views

In both GW-BASIC and QuickBASIC, statements are passed arguments, some of which are optional and can be omitted depending on the statement: REM Move the text cursor to the specified column and row. ...
user avatar
2 votes
1 answer
259 views

I have a batch file which launches other .bas files with the help of gwbasic. Here is the code of the batch file: graphics cd basic gwbasic menut-hp/d cd \ Then I have the possibility by typing 1 or ...
manny-'s user avatar
  • 127
2 votes
2 answers
630 views

GW-BASIC and many other old BASIC dialects like C64 BASIC allowed you do something like this: 20 PRINT "World" 10 PRINT "Hello" and that would result in the following output when the RUN command/...
user avatar
10 votes
4 answers
8k views

Microsoft BASIC, GW-BASIC and BASICA all use a prompt that looks like this: I can't figure out how to exit any of these. Typing END does not exit them. EXIT, QUIT, Q, Ctrl+C, and everything else that ...
MD XF's user avatar
  • 8,189

15 30 50 per page
1
2 3

AltStyle によって変換されたページ (->オリジナル) /