Jim,
>>I don't think it has anything to do with DO WHILE, and FOR loops. It simply indicates that the level of function calls (either with DO program or the execution of a user define function) has exceeded the limit of 128 levels. I recall that in the FP 2.x day the limitation only was about 32 levels.
>
>Walter,
>
>It means either of the issues that you and Ed have raised.
hmmm, Can you backup this statement ? As far as I know a "Structure nesting is too deep (Error 1212)" occurs when you nest FOR and DO WHILE loops too deep (64 levels). The "Allowed DO nesting level exceeded (Error 103)" only occurs when the level of functioncalls exeeds the number of 128.
See the following program:
IF VARTYPE(nLevel) # "N"
nLevel = 1
ELSE
nLevel=nLevel+1
ENDIF
FOR nX = 1 to 2
FOR nY = 1 to 2
FOR nZ = 1 TO 2
?? nLevel
DO TEST
ENDFOR
ENDFOR
ENDFOR
Walter,