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:
00141995
Views:
35
>ASSERT is a very powerfull debugging tool that has been introduced in VFP 5. It is only executed when you run a program in the development environment, the runtime library of VFP skips this command.

This is important for new users of ASSERT to understand. A common mistake is to put code in an ASSERT that actually needs to be executed under all circumstances.

>ASSERT is a debugging tool, no error handling tool. It supports you during development, but you still have to write an error handler to deal with errors that happen at runtime.

That's my problem with ASSERT.
Previous
Reply
Map
View

Click here to load this message in the networking platform