2

I am using the AUTO command in GW-BASIC 3.23. After I type a program I want to run it. The END command won't return me to command level. I also tried CTRL-BREAK and Ctrl+C.

MD XF
  • 7,860
  • 7
  • 40
  • 71
  • 1
    This is *not* a duplicate of the linked question. The linked question asks how to exit the BASIC environment, while this question asks how to exit `AUTO` mode, which is an interpreter mode that generates line numbers automatically, and return to normal operation. Note that following the answer to the linked question will exit the interpreter altogether and discard the program in memory, which is not what the OP wants. – jochietoch May 12 '18 at 06:12

3 Answers3

1

Are you perhaps running GW-BASIC in DOSBox? If so, try Ctrl -Scroll Lock , as Ctrl-Break does not work correctly in DOSBox. That said, Ctrl-C should also get you out of AUTO mode, so I don't know why that didn't work for you.

Typing the END statement will not get you out of AUTO mode, it will just store a program line with END in it.

Jose Ricardo Bustos M.
  • 8,016
  • 6
  • 40
  • 62
jochietoch
  • 176
  • 1
  • 3
1

After writing the END command press ENTER and on the next line now press ctrl-Break. I hope you will now get out of the programming mode and switch to the command or direct mode.

Maaz Bin Khawar
  • 435
  • 3
  • 13
1

The command to return to the command prompt from the GWBASIC editor is:

system
Bill Hileman
  • 2,798
  • 2
  • 17
  • 24