Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: ON ERROR and ASTACKINFO corruption
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
BUG: ON ERROR and ASTACKINFO corruption
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01025808
Message ID:
01025808
Views:
74
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))
Reply
Map
View

Click here to load this message in the networking platform