test2.pas 392 B

123456789101112131415161718192021222324252627282930313233
  1. {$L+}
  2. unit Test2;
  3. interface
  4. type
  5. PRecord = ^TRecord;
  6. TRecord = record
  7. Field1: longint;
  8. Next : PRecord;
  9. end;
  10. function IsOdd(X: integer): boolean;
  11. var
  12. TEST2_X : real;
  13. implementation
  14. function IsOdd(X: integer): boolean;
  15. var Z: byte;
  16. begin
  17. Z:=0;
  18. X:=Z*X{$ifdef cpui386}*
  19. Test8087{$endif};
  20. IsOdd:=(X mod 2)=1;
  21. end;
  22. procedure static;
  23. begin
  24. end;
  25. END.