0

I want to do a try catch in Delphi.

I cannot put at the same time catch and finally statement.

But I want to catch exceptions with catch statement, and close connection in finally statement.

Delphi allows me to put only one of catch and finally.

How should I do ?

Thanks

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
testpresta
  • 51
  • 2
  • 4

0 Answers0