Re: [fpc-pascal] Delphi mode

2008-07-31 Thread Joao Morais
Carsten Bager wrote: Is there another way writing this without activating Delphi mode. Carsten type tKeypressed=function:boolean; Var pKeypressed:tKeypressed; Function Keypressed:boolean; Implementation Function Keypressed:boolean; Begin if pointer(pKeypressed)<>nil then Keypressed:

[fpc-pascal] Delphi mode

2008-07-31 Thread Carsten Bager
Is there another way writing this without activating Delphi mode. Carsten type tKeypressed=function:boolean; Var pKeypressed:tKeypressed; Function Keypressed:boolean; Implementation Function Keypressed:boolean; Begin if pointer(pKeypressed)<>nil then Keypressed:=pKeypressed else