t_id
964
t_adddate
2003/10/03
t_result
0
t_knownrunerror
0
Record count: 50
Total = 50
OK=50 Percentage= 100.00
{$ifdef fpc}{$mode delphi}{$endif} type BRec = record fu: Function:Longint; end; var a : Longint; b : BRec; function f1:longint; begin result:=10; end; begin b.fu:=f1; // a:=b.fu(); // works well a:=b.fu; // causes "Error: incompatible types" writeln(a); if a<>10 then halt(1); end.