[fpc-pascal] Typecasting by accident

Matt Emson memsom at interalpha.co.uk
Sun May 14 23:46:14 CEST 2006


> Weird, I wouldn't expect OBJFPC mode to allow automatic conversion
> from AnsiString to Pointer...

Um...
>       raise Not_Now (Exception_Message);

It's a CAST dude! Exception_Message is being case as Not_Now. That should
work fairly well in most dialects.t

M





More information about the fpc-pascal mailing list