When programming the Pascal file, compile the file into Compile> Compile (or press ALT + F9).  If successful, the following dialog box will appear.

When programming the Pascal file, to run the file, go to Run> Run (or press F9). If successful, the program will run.

If you run the hidden program, you can view the output of the program by opening the Output window.

See the DOS screen status by going to User Scrren.

If the screen is too messy, you can use the Clean / Refresh DOS Scrren tool to clear the screen before running, so it will be better

NOTE: in the process of compiling or running the program, if there is an error (the compiler has an error that will not show the above dialog box), an error will be reported , see section Error in Pascal for details.