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

leledumbo leledumbo_cool at yahoo.co.id
Fri Aug 31 13:48:09 CEST 2012

> I question your assumption that 
"Result" is specifically more important than the other incompatibilities 
among different modes (i.e. your statement that it "will help...a lot"). I 
do not say that it is wrong to be more helpful in error messages, but 
rather that your proposal tries to "fix" a very small fragment of 
something much more general and moreover that the proposed message may be 
very easily misleading as already demonstrated by Mark. Yet other cases 
might not be detected by the compiler at all: 

+1. Since Result is not really special, i.e. it can be declared by user, it
would be difficult to detect whether it's user's intention or not.

View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Identifier-not-found-result-tp5711065p5711114.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.

More information about the fpc-pascal mailing list