Implementation Restrictions |
C |
![]() |
Identifiers in a nested procedure are concatenated with the identifier of the containing procedure. Thus, an identifier in a deeply nested procedure may become several hundred characters when concatenated and may cause problems with the compiler. Pascal generates an error when this situation occurs.
single
32
3.402823e+38
1.401298e-45
double
64
1.79769313486231470e+308
4.94065645841246544e-324
Table C-1 Values for single and double
Type
Bits
Maximum Value
Minimum Value
Integer
The value Pascal assigns to the integer constants maxint and minint depends on whether or not you compile your program with the -xl option, as shown in Table C-2.
-xl off
2,147,483,647
-2,147,483,648
-xl on
32,767
-32,768
Table C-2 maxint and minint
Option
maxint
minint
Character
Pascal defines the maximum range of characters as 0 to 255. Record
Pascal restricts the maximum size of a record to 2,147,483,647 bytes. Array
Pascal restricts the maximum size of an array to 2,147,483,647 bytes. Set
Pascal restricts the maximum size of a set to 32,767 elements. Alignment
The size and alignment of data types depends on whether or not you compile your program with the -xl option. Table C-3 shows the representation of data types without -xl, and Table C-4 shows the representation with -xl.
Table C-3 Internal Representation of Data Types without -xl-
Table C-4 Internal Representation of Data Types with -xl
Nested Routines
Pascal allows a maximum of 20 levels of procedure and function nesting.
Default Field Widths
The write and writeln statements assume the default values in Table C-5 if you do not specify the minimum field length of a parameter.
Table C-5 Default Field Widths