> > > > try > > readln(NewAlbum.Year); > > except > > on EConvertError do NewAlbum.Year := 0; > > end; > > This should be: > > > try > readln(NewAlbum.Year); > except > on E : EConvertError do NewAlbum.Year := 0; > end; > What are the costs of using exceptional handling ? Is the overhead similar to that incurred by C++ programs ? cheers, -Krish _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
- Re: [fpc-pascal]exception handling kractor
- Re: [fpc-pascal]exception handling Michael Van Canneyt
- Re: [fpc-pascal]exception handling kractor
- Re: [fpc-pascal]exception handling Michael Van Canneyt
- Re: [fpc-pascal]exception handling kractor
- Re: [fpc-pascal]exception handling kractor
- Re: [fpc-pascal]exception handli... Jonas Maebe
- Re: [fpc-pascal]exception ha... kractor
- Re: [fpc-pascal]exception handling vkrish