Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using the ASSERT Command for Unexpected Results?
Message
From
26/11/2002 15:36:31
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00726570
Message ID:
00727279
Views:
17
>The best use I can see for ASSERTS is instead of the old SUSPEND instruction.
>
>You can "forget" the Asserts in the program after debuging and nothing will happen at distribution time as the SET ASSERTS is OFF by default. This is not the case with SUSPEND.

You can even leave a SET ASSERTS ON line in your code, and it still won't matter. The runtime ignores asserts completely, and it does so with SET STEP ON as well.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform