Hi Denis,
Usually, the program's complexities will increase as exponential when
decompose complex conditional statement.
----------------------------------------------------------------------------------------------------------------
| Structured Programming Commands | Maximum of Nested Level for VFP | Maximum of Nested Level for VFP Compiler |
----------------------------------------------------------------------------------------------------------------
| IF ... ENDIF | 63 | 143 |
----------------------------------------------------------------------------------------------------------------
| DO CASE ... ENDCASE | 31 | 143 |
----------------------------------------------------------------------------------------------------------------
| DO WHILE ... ENDDO | 63 | 91 |
----------------------------------------------------------------------------------------------------------------
| FOR ... ENDFOR | 63 | 91 |
----------------------------------------------------------------------------------------------------------------
| SCAN ... ENDSCAN | 63 | 91 |
----------------------------------------------------------------------------------------------------------------
| TRY ... ENDTRY | 63 | 91 |
----------------------------------------------------------------------------------------------------------------
As the maximum of nested level for VFP structured programming commands is 63,
some large program may happen "Structure nesting is too deep" error when decompose
complex conditional statement.
best regards.
Chen
2011.8.26