NDXTYPES.LST 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Listing:
  2. 1 DEFINITION MODULE NdxTypes;
  3. 2 (*
  4. 3 * REPERTOIRE
  5. 4 * Release 1.6
  6. 5 * By Charles Bradford and Cole Brecheen
  7. 6 * (c) Copyright 1985-1992 PMI
  8. 7 * Green Bay, Wisconsin
  9. 8 * All rights reserved
  10. 9 * (414) 468-6040
  11. 10 *
  12. 11 * $Header: D:/logfiles/defs/ndxtypes.dev 1.4 30 Dec 1990 18:02:56 coleb $
  13. 12 *
  14. 13 *)
  15. 14
  16. 15
  17. 16 FROM SYSTEM IMPORT ADDRESS;
  18. 17 FROM GenLists IMPORT GenList;
  19. 18
  20. 19 CONST
  21. 20 RecNameLength = 20;
  22. 21 NdxTypeCode = 65533;
  23. 22 (*arbitrary value*)
  24. 23
  25. 24 TYPE
  26. 25 RecNameStr = ARRAY [0..RecNameLength - 1] OF
  27. ***** ^ not supported yet
  28. 26 CHAR;
  29. ***** ^ not supported yet
  30. 27 NdxElement =
  31. 28 RECORD
  32. 29 RecName : RecNameStr;
  33. 30 FilePos : LONGINT;
  34. 31 UsedChars, Allocated : CARDINAL;
  35. 32 END;
  36. ***** ^ not supported yet
  37. 33
  38. 34 NdxFileType = POINTER TO NdxRecord;
  39. ***** ^ undeclared identifier
  40. 35 NdxRecord =
  41. 36 RECORD
  42. 37 name : ARRAY [0..75] OF CHAR;
  43. ***** ^ not supported yet
  44. ***** ^ not supported yet
  45. 38 handle: CARDINAL;
  46. 39 SafetyOn: BOOLEAN;
  47. 40 InitCheck: CARDINAL;
  48. 41 NdxFilePtr: LONGINT;
  49. 42 UpdateNeeded: BOOLEAN;
  50. 43 BufRecName: ARRAY [0..RecNameLength - 1] OF
  51. ***** ^ not supported yet
  52. 44 CHAR;
  53. ***** ^ not supported yet
  54. 45 Ndx, AltKeys, ListBuf, StructLst: GenList;
  55. 46 FileBufPtr : ADDRESS;
  56. 47 BufSizeNow : CARDINAL;
  57. 48 END;
  58. ***** ^ not supported yet
  59. 49
  60. 50 PROCEDURE CheckInit( NdxFile: NdxFileType );
  61. 51
  62. 52 PROCEDURE InitNdxFile(VAR NdxFile: NdxFileType);
  63. 53
  64. 54 PROCEDURE Init();
  65. 55
  66. 56 END NdxTypes.
  67. ***** ^ not supported yet
  68. 10 errors