Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: ON ERROR and ASTACKINFO corruption
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
BUG: ON ERROR and ASTACKINFO corruption
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01025808
Message ID:
01025808
Vues:
75
CLEAR
? "expected all .t."
ON ERROR TEST()
	=CREATEOBJECT("mClass")
TEST()
ERROR 1

DEFINE CLASS mClass AS Custom
	PROCEDURE Init
		ERROR 1

	PROCEDURE Error
	LPARAMETERS nError, cMethod, nLine
	? ASTACKINFO(AX)=PROGRAM(-1),PROGRAM()=UPPER(ax(ALEN(ax,1),3))
	TEST()
	
ENDDEFINE

PROCEDURE TEST
	? ASTACKINFO(AX)=PROGRAM(-1),PROGRAM()=UPPER(ax(ALEN(ax,1),3))
Répondre
Fil
Voir

Click here to load this message in the networking platform