Brilliant: if it is a console program and it was started any other way (from the Windows Explorer, from the Delphi
IDE with or without debugger, from another non-console program), then, before the console window can close, it will display: Press any key... Source: Delphi Corner Weblog: New: ...
More...