test2.pas 398 B

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