In a bit of a loop.... - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

In a bit of a loop....

7zark77zark7 Posts: 2Member
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!!!

Comments

  • zibadianzibadian Posts: 6,349Member
    [b][red]This message was edited by zibadian at 2005-6-2 10:5:47[/red][/b][hr]
    : 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.
  • 7zark77zark7 Posts: 2Member
    : [b][red]This message was edited by zibadian at 2005-6-2 10:5:47[/red][/b][hr]
    : : 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 :-(
    :

  • Phat NatPhat Nat Posts: 757Member
    : : [b][red]This message was edited by zibadian at 2005-6-2 10:5:47[/red][/b][hr]
    : : : 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


Sign In or Register to comment.