[fpc-devel] problem while using free pascal

Bart bartjunk64 at gmail.com
Thu Feb 14 23:32:53 CET 2019

On Thu, Feb 14, 2019 at 10:17 PM 陳悅(2018-19) 3E04 CHAN YUET
<pc20161147 at puiching.edu.hk> wrote:
> Dear sir
> I am sorry yo informed you that there is a problem while I am using the free pascal app. While I try to open the app, it just flashes, while I click a few more times it just keeps flashing.

You are probably creating and running a console program (as opposed to
a GUI program) and double-click on the executable in Windows Explorer
to run it.
This will open a console window, run the program and close the console
window again.
- start cmd.exe and run the program from there, or
- as the last statement add readln; (just before the final end.), the
th eprogram will not teerminate until you press enter (and only aftre
that the console window will get closed.

There questions are better asked on the forum or on the fpc-pascal mailing list.

More information about the fpc-devel mailing list