[fpc-pascal] Food for thought - language string improvement
skalogryz.lists at gmail.com
Mon Jul 10 16:37:52 CEST 2017
On Mon, Jul 10, 2017 at 9:46 AM, Graeme Geldenhuys <
mailinglists at geldenhuys.co.uk> wrote:
> On 2017-07-10 13:34, Dmitry Boyarintsev wrote:
>> are you referring to "Catching More Than One Type of Exception with One
>> Exception Handler" in
> Yes. You can have multiple catch blocks inside the same try block.
Well, this has been in FPC/Delphi from the start
Ultimately handling multiple exceptions in one catch block is the whole
purpose of having exception mechanism in a language.
You can also have a single catch block with a comma separated list of
> exception types.
I think it's actually Pipe separated.
And is that true, that the variable specified for catching such exception
would default to a common "Exception" class?
Not available in freepascal indeed.
> Then lastly, you can even add a finally block in there too
Also not available, but people are asking :
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal