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.