On 06 Jan 2015, at 13:41, Marcos Douglas wrote:
There you said: "If you don't like that (by design), use the TP or Delphi dialects as mentioned before." If this "problem" not occurs using delphi dialects, do not you think it's better all dialects work as Delphi works? Only in this case, of course.
It would break compatibility with a lot of existing code written in FPC and ObjFPC modes. This bug/feature has been in FPC dialects since more or less the beginning (since before Delphi and its somewhat cleaner "result" solution to the same problem existed).
IMHO this is an inconsistency in the language. Sometimes use "()" sometimes not?
If you want, you can always use () when calling a function. Jonas _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
