On 15 mei 2006, at 18:09, Flávio Etrusco wrote:

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

No. Typecasts, as any other aspect of a language, has to have rules.
AFAIR this cast in Delphi would require another cast from AnsiString
to Pointer.

It doesn't.

And if typed pointers is enabled would require another
cast from Pointer to TObject.

No. {$t+} only influences implicit pointer conversions.


Jonas

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to