Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
In what class am I?
Message
 
 
À
09/11/2001 06:16:51
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00578989
Message ID:
00579625
Vues:
35
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform