[fpc-devel]Nested function as argument for TList.Sort

Pedro Lopez-Cabanillas plcl at telefonica.net
Thu Nov 27 00:30:37 CET 2003


Hi,

The attached program compiles and works fine under Kylix 3, and also compiles 
under fpc 1.9, but bombs with this message:

An unhandled exception occurred at 0x0807F0B5 :
EAccessViolation : Access violation
  0x0807F0B5

It happens on TObjectList.Sort when the argument is a local nested function. 
It works well when the argument is a global function.

Regards,
Pedro

-- 
ALSA Library Bindings for Pascal
http://alsapas.alturl.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test6.pas
Type: text/x-pascal
Size: 1187 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20031127/c941a757/attachment.pas>


More information about the fpc-devel mailing list