[fpc-pascal] Re: Identifier not found "result"

Rainer Stratmann RainerStratmann at t-online.de
Thu Aug 30 15:49:38 CEST 2012

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.
Wouldn't it be better to come to a solution (compiled program) as fast as 
possible to stay motivated?

> > When someone wants to compile a TurboPascal or Delphi program with
> > freepascal. Then he already knows that result is a function result, but
> > freepascal gives an error about this.
> Perhaps if in Lazarus he could just press F1 when on the result
> identifier[1]. If in the fpc IDE, presumably there's context sensitive
> help. That would work for other similar problems, too.

I had this thing with lazarus but was not aware of a fast help about this.

> If the user doesn't use an IDE then yes, I think he should go through
> the documentation manually.

A short message would help the user faster than searching for the right 
Even more a beginner could turn away because of this behaviour and say 
freepascal is not mature if it does not support a function result.

More information about the fpc-pascal mailing list