DOS window doesn't stay up when I run PASCAL-x

I downloaded a freeware (or maybe evaluation-ware) IDE called PASCAL-x, a basic Pascal working environment. Input from the user and output to the screen are supposed to take place in a DOS window which is spawned at run time, but when
I try to do it the DOS window appears for a split second then vanishes. It does this even if the Pascal program is supposed to prompt the user and would be expected to wait.

Does anyone know of a setting I might look for on my PC to
solve this problem?

Is it perhaps spewing an error message that isn’t there long enough to read before the window closes?

If so…

Perhaps you can redirect the output to a file.

It’s been years since I’ve used DOS, but I think

command > filename

will work in DOS to capture output

or perhaps you can make a batch program that will run the program in question and then pause long enough for you to read the error

Or, you could open a dos box, then run the program manually.

There’s a setting in windows that specifies the DOS windows are to be closed automatically when the program finishes executing. If there’s an icon for the program, you should be able to change this setting by right-clicking the icon, going to properties > program, and then there should be a small box at the bottom of the screen that says “Close on exit.” Make sure it’s not checked. If you don’t have an icon, make a new shortcut on your desktop and follow the above procedure.