Re: [fpc-pascal] Forward type not resolved

2011-03-04 Thread Marco van de Voort
In our previous episode, Florian Klaempfl said: > > 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? > > c:\fpc>fpc test.pp > Free Pascal Compiler ver

Re: [fpc-pascal] Forward type not resolved

2011-03-03 Thread Florian Klaempfl
Am 04.03.2011 01:46, schrieb waldo kitty: > 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 se

Re: [fpc-pascal] Forward type not resolved

2011-03-03 Thread Jorge Aldo G. de F. Junior
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 : > On 3/3/2011 17:15, Leonardo M. Ramé wrote: >> >> Sorry, the error was here: >> >>    TOnSqueeze = proc

Re: [fpc-pascal] Forward type not resolved

2011-03-03 Thread waldo kitty
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

Re: [fpc-pascal] Forward type not resolved

2011-03-03 Thread Leonardo M . Ramé
--- On Thu, 3/3/11, Leonardo M. Ramé wrote: > From: Leonardo M. Ramé > Subject: [fpc-pascal] Forward type not resolved > To: "FPC-Pascal users discussions" > Date: Thursday, March 3, 2011, 8:06 PM > Hi, I'm trying to create a forward > declaration for a class, as I use to do in Delphi, but I'm >