[fpc-devel] out parameters in RTL/FCL

Ales Katona almindor at gmail.com
Wed Jun 8 17:51:07 CEST 2005


Mattias Gaertner wrote:

>At the moment there are a lot of warnigns for uninitialised var parameters.
>
>Is it possible to replace the 'var' with 'out' specifiers?
>Can I send patches for that?
>
>
>Mattias
>
>_______________________________________________
>fpc-devel maillist  -  fpc-devel at lists.freepascal.org
>http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>  
>
I agree, not so long ago I talked at #fpc about FindFist(...var 
TSearchRec...) which is one of those ugly "hinting" functions. This is a 
clear initializer method which should use "out".

Ales




More information about the fpc-devel mailing list