[fpc-pascal] Food for thought - language string improvement

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Mon Jul 10 15:50:18 CEST 2017


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



More information about the fpc-pascal mailing list