Delphi at TU/e: Frequently Asked Questions

A N N O U N C E M E N T S
None
Also see Getting Started with Delphi at TU/e.

General Delphi and IDE Questions:

Delphi Pascal Questions:


Why don't I get a blue line when tracing my program?

When tracing the execution of a program, the next statement to be executed is highlighted in blue. If tracing does not work, you may have to change an IDE preference:

Why does my program's console window disappear?

When a console application is executed from Windows (as opposed to: from an MS-DOS window, by typing in its name), it creates a temporary MS-DOS window. In this window, you see keyboard input and screen output. When the program terminates, this window is immediately closed. To prevent this, you can include the following two lines at the end of your program (that is, right before end.):
  ; write('Type <enter> to terminate the program: ')
  ; readln
  

Why do I get error 103 when running my program?

Error 103 indicates that some file was not found when attempting to open it. This happens, for instance, when you try to run a console application with incorrect project options. Change your project's options by enabling `Generate console application' under `Linker'. Alternatively, you can include the following comment at the beginning of your program:
  {$APPTYPE CONSOLE}
  

[When running a Pascal program, the predefined text files input and output are automatically opened. This only works properly when a console application is being generated.]


Feedback about this page is welcome