Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Method of class.
Message
 
À
19/06/2000 11:19:58
Randy Riegel
Zimish Contracting
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00381785
Message ID:
00381900
Vues:
12
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform