[fpc-pascal] Typecasting by accident

memsom memsom at interalpha.co.uk
Fri May 12 12:13:26 CEST 2006


>       raise Not_Now (Exception_Message);

I feel your pain!

far too much like :

throw Not_Now(Exception_Message);

My brain does this all the time moving between C# and Delphi. The one I
always seem to do, is "except" instead of "catch" in "try" blocks. At
least the compiler/syntax checker gets that one right away ;-)


M




More information about the fpc-pascal mailing list