Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is ASSERT used for?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00141677
Message ID:
00141716
Views:
25
>When you distribute your application, you can SET ASSERT OFF and the assert will be ignored.

However, I've heard good arguments for why ASSERT should never be turned off (or, rather, that it should be replaced with real error-handling code). Turning ASSERTs off is like saying your app can't possibly contain the bugs the assertions are supposed to trap. I know I can't say this with absolute certainty about my code.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform