[fpc-pascal] Forward type not resolved

Jorge Aldo G. de F. Junior jagfj80 at gmail.com
Fri Mar 4 02:38:52 CET 2011


im still trying to understand how the compiler understood that
sentence in order to generate THAT specific error... (while ignoring a
totally out of place 'of' token....)

2011/3/3 waldo kitty <wkitty42 at windstream.net>:
> On 3/3/2011 17:15, Leonardo M. Ramé wrote:
>>
>> Sorry, the error was here:
>>
>>    TOnSqueeze = procedure (AQuote: TQuote); of object;
>>
>> This line should be:
>>
>>    TOnSqueeze = procedure (AQuote: TQuote) of object;
>
> amazing what a misplaced semi-colon will do, eh? ;)
>
> i would have thought that there would have been an additional error
> concerning the trailing "of object"... was there? did it give a clue as to
> the actual error of the misplaced semi-colon?
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>



More information about the fpc-pascal mailing list