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
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
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
--- 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
>
Hi, I'm trying to create a forward declaration for a class, as I use to do in
Delphi, but I'm getting "Forward type not resolved". How can I troubleshoot
this?.
Here's the code:
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
TQuote = class; // forward declaration.
TOnSque
Hi,
Has anyone got this right and wiling to share some knowledge?
cheers
Lennie
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal