next up previous contents
Next: About this document Up: Free Pascal programmers guide Previous: The compiler source tree

Compiler limits

  Although many of the restrictions imposed by the MS-DOS system are removed by use of an extender, or use of another operating system, there still are some limitations to the compiler:

  1. Procedure or Function definitions can be nested to a level of 32.
  2. Maximally 255 units can be used in a program when using the real-mode compiler. When using the 32-bit compiler, the limit is set to 1024. You can change this by redefining the maxunits constant in the files.pas compiler source file.


Michael Van Canneyt
Thu Sep 10 14:04:11 CEST 1998