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

Rainer Stratmann RainerStratmann at t-online.de
Fri Aug 31 10:27:32 CEST 2012

Am Friday 31 August 2012 01:59:45 schrieb Graeme Geldenhuys:
> On 30/08/12 17:07, Jonas Maebe wrote:
> > Turbo Pascal does not support the "result" alias for the function
> > result.
> Yup, I can confirm that. I just tested with Turbo Pascal 5.5 :)  Wow,
> that brought back memories.

TP 7.0 also does not support a function result.
I donwloaded it and test it in a DOS Box.
I could swear that it supports it...

TMT Pascal (now Framework Pascal) _does_ support a function result.
Although it is not described in the online documentation.
This userfriendly pascal compiler I used some years.

I read some backup sorcecode made with TMT pascal and see that I make 
extensive use of the function result variable (because of easy to use and 
save time when changing the function name). Thus I thought freepascal is not 
mature when an error like:
'identifier "result" not found' comes up with no further comment.

More information about the fpc-pascal mailing list