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?
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.