Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Method of class.
Message
 
To
19/06/2000 11:19:58
Randy Riegel
Zimish Contracting
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00381785
Message ID:
00381900
Views:
14
Is the error in a method of the class with the error? or is in in a prg or another class?

this example sort of shows when it does and doesnt get used

clear
lotest1 = createobject( "testA" )
lotest1.MkError1()
lotest1.CallError()
lotest3 = createobject( "testB" )
lotest3.MkError2()

define class testA as custom

procedure CallError
local loTest2
lotest2 = createobject( "testB" )
lotest2.MkError2()
return

procedure MkError1
? abc
return
endproc

function error( tnErr, tcMth, tnLin )
? prog(), message(), tnErr, tcMth, tnLin
return
endproc

enddefine


define class testB as custom

procedure MkError2
? def
return
endproc

enddefine
Previous
Reply
Map
View

Click here to load this message in the networking platform