ALTKEYS.LST 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Listing:
  2. 1 DEFINITION MODULE AltKeys;
  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/altkeys.dev 1.4 30 Dec 1990 17:58:36 coleb $
  13. 12 *
  14. 13 *)
  15. 14
  16. 15 FROM SYSTEM IMPORT ADDRESS;
  17. 16 FROM NdxTypes IMPORT NdxFileType;
  18. 17 FROM GenLists IMPORT GenList;
  19. 18
  20. 19 CONST
  21. 20 RecNameCode = 65530;
  22. 21 CriterionCode = 65531;
  23. 22 AltKeyCode = 65532;
  24. 23
  25. 24 TYPE
  26. 25 LogicOperator = (or, and, AndNot);
  27. 26
  28. 27 SelectProc = PROCEDURE(ADDRESS, CARDINAL,
  29. ***** ^ not supported yet
  30. ***** ^ not supported yet
  31. ***** ^ not supported yet
  32. 28 CARDINAL, ARRAY OF CHAR, VAR BOOLEAN):
  33. ***** ^ not supported yet
  34. ***** ^ not supported yet
  35. ***** ^ not supported yet
  36. 29 BOOLEAN;
  37. ***** ^ not supported yet
  38. 30
  39. 31 Criterion = RECORD
  40. 32 operator: LogicOperator;
  41. 33 rule, field: ARRAY [0..127] OF CHAR;
  42. ***** ^ not supported yet
  43. ***** ^ not supported yet
  44. 34 determiner: SelectProc;
  45. 35 END;
  46. ***** ^ not supported yet
  47. 36
  48. 37 PROCEDURE LoadAltList( VAR NdxFile: NdxFileType;
  49. 38 InList: GenList; FieldName: ARRAY OF CHAR;
  50. ***** ^ not supported yet
  51. 39 Criteria: GenList): BOOLEAN;
  52. 40
  53. 41 PROCEDURE FieldLoaded( NdxFile: NdxFileType;
  54. 42 FieldName: ARRAY OF CHAR; VAR spot:
  55. ***** ^ not supported yet
  56. 43 CARDINAL): BOOLEAN;
  57. 44
  58. 45 PROCEDURE CreateAltList( VAR NdxFile:
  59. 46 NdxFileType; FieldName: ARRAY OF CHAR; VAR
  60. ***** ^ not supported yet
  61. 47 SpotUsed: CARDINAL);
  62. 48
  63. 49 PROCEDURE CriteriaMet( NdxFile: NdxFileType;
  64. 50 Criteria: GenList; VAR CriteriaValid:
  65. 51 BOOLEAN ): BOOLEAN;
  66. 52
  67. 53 PROCEDURE DisposeAltList( VAR NdxFile:
  68. 54 NdxFileType; FieldName: ARRAY OF CHAR);
  69. ***** ^ not supported yet
  70. 55
  71. 56 PROCEDURE TallyAltLists(NdxFile: NdxFileType;
  72. 57 VAR TheList: GenList);
  73. 58
  74. 59 PROCEDURE GetAltList( NdxFile: NdxFileType;
  75. 60 FieldName: ARRAY OF CHAR; VAR AltList:
  76. ***** ^ not supported yet
  77. 61 GenList): BOOLEAN;
  78. 62
  79. 63 PROCEDURE GetMatchingKey( NdxFile: NdxFileType;
  80. 64 AltList: GenList; spot: CARDINAL; VAR
  81. 65 RecName: ARRAY OF CHAR );
  82. ***** ^ not supported yet
  83. 66
  84. 67 PROCEDURE GetMatchingKeys( NdxFile: NdxFileType;
  85. 68 AltList: GenList; VAR KeyList: GenList):
  86. 69 BOOLEAN;
  87. 70
  88. 71 PROCEDURE StrSelector( TheAdr: ADDRESS; TheSize,
  89. 72 TypeCode: CARDINAL; TheRule: ARRAY OF CHAR;
  90. ***** ^ not supported yet
  91. 73 VAR CriteriaValid: BOOLEAN ): BOOLEAN;
  92. 74
  93. 75 PROCEDURE AddCriteria( CriteriaList: GenList;
  94. 76 op: LogicOperator; TheSelectProc:
  95. 77 SelectProc; TheRule, FieldName: ARRAY OF
  96. 78 CHAR );
  97. ***** ^ not supported yet
  98. 79
  99. 80 PROCEDURE Init();
  100. 81
  101. 82 END AltKeys.
  102. ***** ^ not supported yet
  103. 19 errors