Am 20.04.2017 08:44 schrieb "Andrey M, Zubarev" <zam...@gmail.com>: > > Hi All, > > Why can't use procedural type for declare a procedure\function? > Why ever allow the exact same signature? It's uncomfortable > Maybe it makes sense to introduce into the language such a possibility?
No, that makes no sense. Function/procedures/methods are independent of of function/procedure/message types, maybe even declared indifferent units not related to each other and used together only in a third unit. Also it would be harder to see easily which parameters a routine takes as you'd need to check the corresponding type first. (And if you now say that an IDE can help with that, well 1) not everyone uses one and 2) the same could be said about your original problem) Regards, Sven
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal