Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
In what class am I?
Message
 
 
To
09/11/2001 06:16:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00578989
Message ID:
00579625
Views:
33
>>You can also put DEBUGOUT THIS.CLASS in any method code. That way, you do not have to remember to remove it before distributing your app. It is harmless under runtime [as is ASSERT].
>
>I am not so sure about ASSERT; I sometimes got ugly errors when an assertion failed. It made the application crash, if I remember correctly.
>
>Probably the crash was due to a combination with some other problematic situation, but I don't remember all the details now.
>
>I understand the idea: that ASSERT won't produce any output for the end-user.

I have never had a problem with ASSERT in an app under runtime. I even tested it with SET ASSERTS ON issued at the start of the app followed by an ASSERT .F. and still got no failure message under runtime.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform