Re: [fpc-pascal] Overloaded functions

2017-10-28 Thread pascalX
On 28/10/17 23:54, Darius Blaszyk wrote: Thanks! This is in line with what I was suspecting. However, why in the world does the compiler not warn in this case. This should be at least happening I would suppose? Darius Vojtěch Čihák schreef op 28 okt '17: Overloading means that you have funct

Re: [fpc-pascal] Overloaded functions

2017-10-28 Thread Darius Blaszyk
Thanks! This is in line with what I was suspecting. However, why in the world does the compiler not warn in this case. This should be at least happening I would suppose? Darius Vojtěch Čihák schreef op 28 okt '17: > Overloading means that you have functions with the same name but different >

Re: [fpc-pascal] Overloaded functions

2017-10-28 Thread Vojtěch Čihák
Overloading means that you have functions with the same name but different parameter (or param. list). You can have different return type for each parameter but you can never have the same parameters. V. __ Od: Darius Blaszyk Komu: FP