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.