On 2017-07-10 14:46, Graeme Geldenhuys wrote:
You
can also have a single catch block with a comma separated list of
exception types.

Oops, typo.... Not a comma separated list, but a list separated by the | (pipe or vertical bar) symbol.

See the last example here:

  https://docs.oracle.com/javase/tutorial/essential/exceptions/catch.html


Regards,
  Graeme

--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to