Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if error is in baseclass or subclass
Message
From
21/12/2007 13:51:08
 
 
To
21/12/2007 13:32:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01277002
Message ID:
01277057
Views:
17
>>How do you know where in the inheritance chain an error is occurring at runtime?
>>
>>ASTACKINFO shows the procedure as that of the instance called.
>>PEMSTATUS(oObjectName , cMethod, 6) says that the method is Inherited; not whether the sub-class has it's own code, or which is running.
>>PEMSTATUS(oObjectName , cMethod, 0) only detects 'Changed' for properties only.
>>ACLASS( ) will provide only the object's ancestor class names.
>>GETPEM() is design time only.
>>
>>What am I missing?

>AERROR()

>Tamar

That doesn't give me much to go on.
__________________________________
laError   (Array)
   laError[1,1]   107
   laError[1,2]   "Operator/operand type mismatch."
   laError[1,3]   .NULL.
   laError[1,4]   .NULL.
   laError[1,5]   .NULL.
   laError[1,6]   .NULL.
   laError[1,7]   .NULL.
Thank you,
- Frank
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform