Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking Parameters
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01108949
Message ID:
01109036
Views:
24
Maybe you're right. I'll think about it some more.


>Thinking some more about what you want to, ASSERTs are the way to go. They're designed specifically for developer errors.
>
>>VFP checks parameter types. Try passing an integer for the 1st parameter of SUBSTR().
>>
>>In the case of a COM object I write in VFP, the programmers ARE the users, so I think
>>you would need to check.
>>
>>I'm just trying to be complete. I don't want a COM object I pass to other programmers
>>to crash instead of handling it up front. At the same time, I don't want to overly
>>complicate the code either.
>>
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Reply
Map
View

Click here to load this message in the networking platform