[fpc-pascal]signal handling under linux...

Adam Naumowicz adamn at math.uwb.edu.pl
Sat Jul 28 11:43:13 CEST 2001

On Fri, 27 Jul 2001, Gene Buckle wrote:

> > NewSignal:=SignalHandler(CatchSignal);
> Adam, here the compiler is telling me that the incorrect number of
> parameters have been specified.  Ideas?

Sorry, I often use the Delphi syntax compatibility switch and that accepts
the code. But in your case you have to add the address operator like:
I think the typecast is also not neccesary when you change the type of
CatchSignal formal parameter to Longint.
Adam Naumowicz

WWW: http://math.uwb.edu.pl/~adamn/

More information about the fpc-pascal mailing list