| Type of Nested Statement | No of Levels |
|---|---|
| PERFORM statements: | |
| - intermediate code | 100 |
| - generated code | depends on the amount of memory allocated by the operating system |
| - debugging | 254. If your program exceeds this level, Debugger will only Step, even if Zoom mode is specified. |
| IF statements (compiled code only) |
Limited by:
|
| CALL statements | No specifiable limit. However, this is limited by the stack space allocated by the operating system. |