On Tue, Nov 17, 2009 at 9:57 AM, Graeme Geldenhuys
<gra...@mastermaths.co.za> wrote:
> If I have a declaration as follows... what type is InData and OutData?
> Pointers? If it is a generic Pointer type, then why doesn't developers
> simply declare it as pointer? What is the advantage of not mentioning
> the type then?
if you declare parameter as Pointer, then you might be able to pass "nil"
So the function should keep that possibility in mind.

Declaring parameter as untype shows that parameter is mandatory.

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

Reply via email to