Download (+) Description

Transcript
of-line character (i.e. a line-feed chr(10)).
15.1 Implementation limits
Standard Pascal allows implementations to impose limits on the size of a program and its data. Irie Pascal
imposes various limits on the size and complexity of programs and their data, that it will process. These
limits are listed below:












Length of source lines
Number and nesting of statement sequences
Nesting of functions/procedures
Range of variant selector's type & Number of variants
Size of integer constants
Size of real constants
Size of code and data
Number of set elements
Nesting of statements
Nesting of include directives
Stack size
Number of Source Lines
15.2 Length of source lines
The maximum length of a source line, that the Irie Pascal compiler will process, is 400 characters. If you
exceed this limit the compiler will issue an error message.
15.3 Number and nesting of statement sequences
Statement sequences are the statements that occur between begin and end and between repeat and until.
Statement sequences are nested when one statement sequence is contained in another.
The maximum number of statement sequences in a function or procedure is 2,147,486,647. If you exceed
this limit the Irie Pascal compiler issues a fatal error message. Statement sequences can be nested to a
maximum depth of 256. If you exceed this limit the compiler issues a fatal error message.
15.4 Nesting of functions/procedures
Pascal supports nested functions and procedures (i.e. functions and procedures can contain other functions
and procedures). Irie Pascal supports nesting functions and procedures to a maximum depth of 256.
NOTE: This does not mean that the total number of functions and procedures in a program is 256. This
limits applies only to the depth of nesting. If you exceed this limit the compiler issues a fatal error
message.
15.5 Range of variant selector's type & Number of variants
Irie Pascal limits the maximum range of the tag-type of a variant record's variant selector to 1024 (i.e. the
maximum number of values specified by the tag-type is 1024). This also indirectly limits the number of
variants in a variant record's variant-part to 1024. If you exceed this limit the compiler issues a warning
message and the following checks are not performed on the variant record which exceeded the limit(s).