Am Thursday 30 August 2012 15:59:12 schrieb Reinier Olislagers: > On 30-8-2012 15:49, Rainer Stratmann wrote: > > Am Thursday 30 August 2012 15:33:36 schrieb Reinier Olislagers: > >> On 30-8-2012 15:08, Rainer Stratmann wrote: > >>> Am Thursday 30 August 2012 14:39:06 schrieb leledumbo: > >>>> Since this behavior is documented, one should read the documentation > >>>> first: http://www.freepascal.org/docs-html/ref/refse76.html > >>> > >>> There is much documentation spread over many servers. > >> > >> I don't understand that remark: Leledumbo is referring to correct spot > >> in the official FPC documentation. > > > > But a beginner has to read many documents. > > <snip> > As I said, perhaps best to raise an issue+patch if you feel so strongly > about it.
I am not familiar with the compilers soucecode. That will take some time I think. I don't think that it is that difficult to implement. If the identifyer that was not found is named "result" then a compiler message "are you in the right syntax-mode? only ObjFPC (-MObjfpc) or Delphi (-Mdelphi) mode supports a function result" is shown. That will help beginners to stay motivated instead of (maybe) searching another language. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal