Re: [fpc-pascal] method pointers

2006-01-17 Thread Wolfram Kläger
FPC-Pascal users discussions schrieb am 17.01.06 07:52:13: > > > FPC can´t assign value to address, where Delphi can. For example: > Did you use {$mode delphi} ? ... Thanks a lot, Peter. In my cfg file, I had OP extensions on. Switched to Delphi mode, and I have other problems again :-) W

Re: [fpc-pascal] method pointers

2006-01-17 Thread memsom
>> In Delphi, the line >> >> @UserDataEvent := pointer(FUserDataHandlers[I]); >> >> is common practice. What is the difference to FPC and the appropriate >> workaround? Forgive me for jumping in without reading the whole thread (Webmail is a real PITA for this) but; No that is not complete

Re: [fpc-pascal] method pointers

2006-01-16 Thread Peter Vreman
> FPC can´t assign value to address, where Delphi can. For example: > > TDomNode = class(TDomCustomNode); > private > ... > FUserData : TUtilsWideStringList; > FUserDataHandlers : TList; > ... > > destructor TDomNode.Destroy; > var > I: Integer; > UserDataEvent: TDomUs

[fpc-pascal] method pointers

2006-01-16 Thread Wolfram Kläger
FPC can´t assign value to address, where Delphi can. For example: TDomNode = class(TDomCustomNode); private ... FUserData : TUtilsWideStringList; FUserDataHandlers : TList; ... destructor TDomNode.Destroy; var I: Integer; UserDataEvent: TDomUserDataEvent; begin //