Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I fix this BASIC compilation error?
    primarykey
    data
    text
    <p>I have a problem compiling a program I made in BASIC. It's a DOS simulator that I was making in attempts to see if it is posssible to write an operating system entirly in BASIC. Every time I try to compile, I get these messages:</p> <pre><code>!SYNTAX ERROR IN LINE 15, COLUMN 50 UNEXPECTED E EXPECTING : OR END OF LINE </code></pre> <p>What do I change to sovle this?</p> <pre><code>10 PRINT 11 PRINT "Starting..." 12 PRINT 13 PRINT 14 INPUT "Type the location of the Command Interpretter:"; I$ 15 IF I$ = "C:\WINDOWS\COMMAND.COM" THEN GOTO 14 ELSE GOTO 13 16 INPUT "C:\&gt;"; D$ 17 IF D$ = "FORMAT" GOTO 25 18 IF D$ = "FDISK" GOTO 47 19 IF D$ = "HELP" GOTO 16 20 IF D$ = "DIR" GOTO 16 21 IF D$ = "MKDIR" GOTO 16 22 IF D$ = "WIN" GOTO 16 23 IF D$ = "CD" GOTO 16 24 IF D$ = "DEL" GOTO 16 25 PRINT "WARNING, ALL DATA ON REMOVABLE DISK" 27 PRINT "DRIVE A: WILL BE LOST!" 28 INPUT "Proceed with Format (Y/N)"; F$ 29 IF F$ = "Y" THEN GOTO 28 30 IF F$ = "N" THEN GOTO 16 31 PRINT 32 PRINT 33 PRINT 34 PRINT "Fotmatting 1.44MB" 35 PRINT "Format complete." 36 PRINT "Writing out file allocation table" 37 PRINT "Complete." 38 PRINT "Calculating free space (this may take several minutes)...................." 39 PRINT "Complete." 40 PRINT 41 INPUT "Volume Label (11 charchters, ENTER for none)" 42 PRINT 43 PRINT " 1,440MB total disk space" 44 PRINT " 1,440MB available on disk" 45 PRINT 46 PRINT " 512 bytes in each allocation unit." 47 PRINT " 32,624 allocation units available on disk." 48 PRINT "Volume Serial Number is 326A-1312" 49 GOTO 16 50 PRINT "Incorrect DOS Version" 51 PRINT 52 GOTO 16 </code></pre> <p>I used Vintage BASIC 1.0.1 as the compiler. Anyone know what's going on? Windoze NT</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload