Re: [fpc-pascal] where to find documentation on fgl unit?

2014-09-10 Thread Michael Van Canneyt
On Thu, 11 Sep 2014, Dennis Poon wrote: I googled and people said there isn't any. Anyone knows? That is because there really isn't any. It is on my todo list. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.free

[fpc-pascal] where to find documentation on fgl unit?

2014-09-10 Thread Dennis Poon
I googled and people said there isn't any. Anyone knows? Dennis ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Overloading functions

2014-09-10 Thread leledumbo
> Now FPC could obviously do that with e.g. an overloaded := operator. But > is there any way to handle the special case of two functions, one of > which returns a dynamic array and the other the number of elements, > without having to give them different names or parameters? With the availabi

[fpc-pascal] Overloading functions

2014-09-10 Thread Mark Morgan Lloyd
My understanding is that functions cannot be overloaded based on the return type, i.e. you can't have two functions with the same name and parameters which differ only in the return type. Is there any realistic way this can be worked around? I've been reading the first few (i.e. free :-) chapt