Well, I'm writing a piece of code which tries to open a TDbf-database. If it fails to open, it will create the table. Just to test, I made this:
try
DbfOstot.Open;
except
on E: Exception do ShowMessage (E.Message);
end;
When I comple & run, it halts at DbfOstot.Open, complaining that "project Test raised exception class 'Exception'.
What am I missing? I thought that try ... except is to catch exceptions. But now it pauses program execution at that point. If I hit F9 to continue execution, nothing happens.
What am I missing?