Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do nesting exceded
Message
De
15/07/2000 13:07:30
Walter Meester
HoogkarspelPays-Bas
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00392852
Message ID:
00392891
Vues:
15
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:
* Test.prg

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,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform