Pascal

Moderators: None (Apply to moderate this forum)
Number of threads: 4106
Number of posts: 14016

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
In a bit of a loop.... Posted by 7zark7 on 2 Jun 2005 at 8:30 AM
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!!!
Report
Re: In a bit of a loop.... Posted by zibadian on 2 Jun 2005 at 10:03 AM
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.
Report
Re: In a bit of a loop.... Posted by 7zark7 on 2 Jun 2005 at 2:30 PM
: 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
:

Report
Re: In a bit of a loop.... Posted by Phat Nat on 5 Jun 2005 at 12:07 AM
: : 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 ;)

Phat Nat





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.