6.2.3.1   Run

Synopsis:
Execute the current program from the PC.
Shortcut:
F5

The program line marked by the PC is the first line that is executed. All following program lines are going to be performed until the end of the current program. After the execution is finished, the main procedure becomes the current procedure. Note that a breakpoint, stop instruction, or runtime error may interrupt the execution of your program. If the HDevelop program waits for the user to draw something in the graphics window, a notification message is printed in the status bar. The program halts until the user finishes the draw operation and confirms this by clicking the right mouse button.

During the execution of operator or procedure calls the following special behavior occurs:

While the program is running, the menu items Run, Step Over, Step Into, and Step Out (and the corresponding tool bar buttons) are grayed out, i.e., you cannot execute them.

You have the following possibilities to stop your HDevelop program:

The procedure and procedure call in which program execution was stopped automatically become the current procedure and procedure call.

Clicking Run continues the program immediately if the current operator is wait_seconds.