Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ignore error

Status
Not open for further replies.

Regany

Programmer
Aug 27, 2004
72
LV
Is it possible to "say" to program ignor some errors? If yes, then how? (for example access violation)
 
You can use try...except...end with nothing between the except and the end, but I don't recommend it. Error messages are good for you (like pain). Better to use proactive code like
Code:
if Assigned(oSomeObject) then
  DoStuff;


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top