0

Lets say I've made a pascal program. Let's say that I haven't saved the program and I mistakenly created a loop. I ran the program and I'm stuck in a loop in the DOS run screen. How do I get out without Alt+F4? The program I am using is Turbo Pascal.

Rohit Gupta
  • 4,022
  • 20
  • 31
  • 41

2 Answers2

0

Ctrl+C should do the trick, sometimes Ctrl+Break

Rohit Gupta
  • 4,022
  • 20
  • 31
  • 41
Jaroslav Záruba
  • 4,694
  • 5
  • 39
  • 58
0

If its stuck in a tight loop, you can't. But if it is writing to the screen or checking the keyboard then CTRL+C will do the trick.

Rohit Gupta
  • 4,022
  • 20
  • 31
  • 41