: : This message was edited by zibadian at 2005-6-2 10:5:47
: : : Help!
: : : Does anyone know how to get pascal out of a loop? and back to the main coding page?
: : : I've been sitting writing a program all day and never saved my work before I ran the program to discover it's stuck in a loop!!!
: : :
: : That depends on the version of Pascal. Most versions allow you to place breakpoints while running the code, or allow you to interrupt the program and unload it from memory. For TP7 (and possibly 6) this is the key combination CTRL+F2 (or Run|Program Reset in the menu).
: : PS: if possible always force an automatic save just before running the program. This will save you a lot of headaches. In TP7: Options|Environment|Preferences|Auto Save|Editor files.
: That didnt work, its TP5.5 Im using.
: The program is still running, I left it on while I was at work to see if anyone could help. Thanks anyway, looks like I'll have to lose all my hard work
Depending how intense your program is runnning, you may be able to use CTRL-Break. Also, TP usually backs up your program for you to a .BAK file. Good luck if you haven't stopped it already ;)