I mean it is declared 4 lines earlier. where is the difference to the
procedure DoRun ?
The problem is that you are using Delphi/TP-style procvar syntax in
source code compiled {$mode objfpc}. Either add @ in front of
DoOnReciveCommand when assigning it to DoRun, or change {$mode objfpc}
into {$mode delphi}.
thx.
i thought of a problem like that, and changed my compiler default to
"delphi".
But i forget that there is a compiler directive in line 2 that just
switched it back to "objfpc".
thx again
Benedikt
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal