#
C. 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 (i.e. a binary that was compiled by Borland Pascal). 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.