home *** CD-ROM | disk | FTP | other *** search
/ HomeWare 14 / HOMEWARE14.bin / prog / ks94an.arj / KLIPPER.CH < prev    next >
Text File  |  1994-03-28  |  4KB  |  273 lines

  1. /*
  2.     KLIPPER.LIB Header File
  3.  
  4.     For use with applications with KLIPPER.LIB functions
  5.  
  6. */
  7.  
  8.  
  9. #ifndef SCAT_ATTR
  10.     #define SCAT_ATTR                1
  11. #endif
  12.  
  13. #ifndef SCAT_NAME
  14.     #define SCAT_NAME                2
  15. #endif
  16.  
  17. #ifndef SCAT_DATA
  18.     #define SCAT_DATA                3
  19. #endif
  20.  
  21. #ifndef SCAT_SRCE
  22.     #define SCAT_SRCE                4
  23. #endif
  24.  
  25.  
  26. #ifndef KT_RESET
  27.     #define KT_RESET                 0
  28. #endif
  29.  
  30. #ifndef KT_START
  31.     #define KT_START                 1
  32. #endif
  33.  
  34. #ifndef KT_STOP
  35.     #define KT_STOP                  2
  36. #endif
  37.  
  38. #ifndef KT_READ
  39.     #define KT_READ                  3
  40. #endif
  41.  
  42. #ifndef KT_SET_TO
  43.     #define KT_SET_TO                4
  44. #endif
  45.  
  46. #ifndef KT_SWITCH
  47.     #define KT_SWITCH                5
  48. #endif
  49.  
  50. #ifndef KT_ASSIGN
  51.     #define KT_ASSIGN                6
  52. #endif
  53.  
  54. #ifndef KCRC_GENERATE
  55.     #define KCRC_GENERATE           0
  56. #endif
  57.  
  58. #ifndef KCRC_TEST
  59.     #define KCRC_TEST               1
  60. #endif
  61.  
  62. #ifndef KCRC_EXTRACT
  63.     #define KCRC_EXTRACT            2
  64. #endif
  65.  
  66. #ifndef KFP_NEXT
  67.     #define KFP_NEXT                1
  68. #endif
  69.  
  70. #ifndef KFP_PREV
  71.     #define KFP_PREV                2
  72. #endif
  73.  
  74. #ifndef NULL
  75.     #define NULL                  chr(0)
  76. #endif
  77.  
  78. #ifndef CRLF
  79.     #define  CRLF                 chr(13)+chr(10)
  80. #endif
  81.  
  82. #ifndef FLUSHKEYS
  83.     #define  FLUSHKEYS            __KeyBoard("")
  84. #endif
  85.  
  86. #ifndef BOXSINGLE
  87.     #define  BOXSINGLE            1
  88. #endif
  89.  
  90. #ifndef BOXDOUBLESIDE
  91.     #define  BOXDOUBLESIDE        2
  92. #endif
  93.  
  94. #ifndef BOXDOUBLETOP
  95.     #define  BOXDOUBLETOP         3
  96. #endif
  97.  
  98. #ifndef BOXDOUBLE
  99.     #define  BOXDOUBLE            4
  100. #endif
  101.  
  102. #ifndef BOXTHICK
  103.     #define  BOXTHICK             5
  104. #endif
  105.  
  106. #ifndef BOXNONE
  107.     #define  BOXNONE              6
  108. #endif
  109.  
  110. #ifndef LABELBOTTOM
  111.     #define  LABELBOTTOM          1
  112. #endif
  113.  
  114. #ifndef LABEL_ARROWS_RIGHT
  115.     #define  LABEL_ARROWS_RIGHT   4
  116. #endif
  117.  
  118. #ifndef LABEL_ARROWS_LEFT
  119.     #define  LABEL_ARROWS_LEFT    5
  120. #endif
  121.  
  122. #ifndef BORDER
  123.     #define BORDER                .T.
  124. #endif
  125.  
  126. #ifndef NOBORDER
  127.     #define NOBORDER              .F.
  128. #endif
  129.  
  130. #ifndef ALL_RECORDS
  131.     #define ALL_RECORDS   !EOF()
  132. #endif
  133.  
  134. #ifndef NO_RECORDS
  135.     #define NO_RECORDS    EOF()
  136. #endif
  137.  
  138. #ifndef NEXTREC
  139.     #define NEXTREC       SKIP
  140. #endif
  141.  
  142. #ifndef NO_INTERRUPT
  143.     #define NO_INTERRUPT  .t.
  144. #endif
  145.  
  146. #ifndef NO_CLOCK
  147.     #define NO_CLOCK      .t.
  148. #endif
  149.  
  150. #ifndef AND
  151.     #define  AND           .and.
  152. #endif
  153.  
  154. #ifndef OR
  155.     #define  OR            .or.
  156. #endif
  157.  
  158. #ifndef CLOSEAREA
  159.     #define  CLOSEAREA     dbCloseArea()
  160. #endif
  161.  
  162. #ifndef CLOSEINDEXES
  163.     #define  CLOSEINDEXES  dbClearIndex()
  164. #endif
  165.  
  166. #ifndef TRUE
  167.     #define   TRUE         .t.
  168. #endif
  169.  
  170. #ifndef FALSE
  171.     #define   FALSE        .f.
  172. #endif
  173.  
  174. #ifndef END_OF_FILE
  175.     #define   END_OF_FILE  eof()
  176. #endif
  177.  
  178. #ifndef LF
  179.     #define   LF           chr(13)+chr(10)
  180. #endif
  181.  
  182.  
  183. // SETCURS.CH addition
  184.  
  185. #ifndef SC_BLOCK
  186.     #define SC_BLOCK        3  // They call this SPECIAL1 in the standard SETCURS.CH I prefer BLOCK
  187. #endif
  188.  
  189. #ifndef KFO_TRUNC
  190.     #define KFO_TRUNC      3
  191. #endif
  192.  
  193. #ifndef KFO_OVERWRITE
  194.     #define KFO_OVERWRITE  2
  195. #endif
  196.  
  197. #ifndef KFO_APPEND
  198.     #define KFO_APPEND     1
  199. #endif
  200.  
  201. #ifndef KFO_FAIL
  202.     #define KFO_FAIL         -1
  203. #endif
  204.  
  205. #ifndef K_TORF
  206.     #define K_TORF    1
  207. #endif
  208.  
  209. #ifndef K_POS
  210.     #define K_POS     2
  211. #endif
  212.  
  213. #ifndef K_EXTRACT
  214.     #define K_EXTRACT 3
  215. #endif
  216.  
  217. #ifndef AS
  218.     #define  AS       :=
  219. #endif
  220.  
  221. #ifndef STRING
  222.     #define  STRING   ""
  223. #endif
  224.  
  225. #ifndef INTEGER
  226.     #define  INTEGER  0
  227. #endif
  228.  
  229. #ifndef FLOAT
  230.     #define  FLOAT    0.00
  231. #endif
  232.  
  233. #ifndef DATE
  234.     #define  DATE     ctod("")
  235. #endif
  236.  
  237. #ifndef LOGICAL
  238.     #define  LOGICAL  FALSE
  239. #endif
  240.  
  241. #ifndef ARRAY
  242.     #define  ARRAY  {}
  243. #endif
  244.  
  245. #ifndef VARIABLE
  246.     #define  VARIABLE  ""
  247. #endif
  248.  
  249. #ifndef STANDARD_FORE
  250.     #define STANDARD_FORE  1
  251. #endif
  252.  
  253. #ifndef STANDARD_BACK
  254.     #define STANDARD_BACK  2
  255. #endif
  256.  
  257. #ifndef ENHANCED_FORE
  258.     #define ENHANCED_FORE  3
  259. #endif
  260.  
  261. #ifndef ENHANCED_BACK
  262.     #define ENHANCED_BACK  4
  263. #endif
  264.  
  265. #ifndef UNSELECT_FORE
  266.     #define UNSELECT_FORE  5
  267. #endif
  268.  
  269. #ifndef UNSELECT_BACK
  270.     #define UNSELECT_BACK  6
  271. #endif
  272.  
  273.