ddg_rec.pp 650 B

12345678910111213141516171819202122232425262728293031323334353637
  1. unit DDG_Rec;
  2. interface
  3. uses sysutils;
  4. type
  5. // arbitary-length array of char used for name field
  6. TNameStr = array[0..31] of char;
  7. // this record info represents the "table" structure:
  8. PDDGData = ^TDDGData;
  9. TDDGData = record
  10. Name: TNameStr;
  11. Height: Extended;
  12. LongField : Longint;
  13. ShoeSize: SmallInt;
  14. WordField : Word;
  15. DatetimeField : TDateTime;
  16. TimeField : TDateTime;
  17. DateField : TDateTime;
  18. Even : Boolean;
  19. end;
  20. // Pascal file of record which holds "table" data:
  21. TDDGDataFile = file of TDDGData;
  22. implementation
  23. end.
  24. $Log$
  25. Revision 1.2 2000-07-13 11:32:56 michael
  26. + removed logs
  27. }