home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / thesrc15.zip / query.h < prev    next >
Text File  |  1993-11-26  |  7KB  |  143 lines

  1. /***********************************************************************/
  2. /* QUERY.H -                                                           */
  3. /* This file contains defines   related to QUERY,STATUS and EXTRACT    */
  4. /***********************************************************************/
  5. /*
  6.  * THE - The Hessling Editor. A text editor similar to VM/CMS xedit.
  7.  * Copyright (C) 1991-1993 Mark Hessling
  8.  *
  9.  * This program is free software; you can redistribute it and/or
  10.  * modify it under the terms of the GNU General Public License as
  11.  * published by the Free Software Foundation; either version 2 of
  12.  * the License, or any later version.
  13.  *
  14.  * This program is distributed in the hope that it will be useful,
  15.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17.  * General Public License for more details.
  18.  *
  19.  * You should have received a copy of the GNU General Public License
  20.  * along with this program; if not, write to:
  21.  *
  22.  *    The Free Software Foundation, Inc.
  23.  *    675 Mass Ave,
  24.  *    Cambridge, MA 02139 USA.
  25.  *
  26.  *
  27.  * If you make modifications to this software that you feel increases
  28.  * it usefulness for the rest of the community, please email the
  29.  * changes, enhancements, bug fixes as well as any and all ideas to me.
  30.  * This software is going to be maintained and enhanced as deemed
  31.  * necessary by the community.
  32.  *
  33.  * Mark Hessling                     email: M.Hessling@gu.edu.au
  34.  * 36 David Road                     Phone: +61 7 849 7731
  35.  * Holland Park                      Fax:   +61 7 875 5314
  36.  * QLD 4121
  37.  * Australia
  38.  */
  39.  
  40. /*
  41. $Header: C:\THE\RCS\query.h 1.4 1993/09/01 16:27:06 MH Interim MH $
  42. */
  43.  
  44.  
  45. /*---------------------------------------------------------------------*/
  46. /* The order of these items determine the order they appear as a result*/
  47. /* of the STATUS command, so they should be in alphabetical order.     */
  48. /*---------------------------------------------------------------------*/
  49. /* The following are item number defines for EXTRACT/QUERY/STATUS.     */
  50. /*---------------------------------------------------------------------*/
  51. #define ITEM_ALT                              0
  52. #define ITEM_ARBCHAR                          1
  53. #define ITEM_AUTOSAVE                         2
  54. #define ITEM_BACKUP                           3
  55. #define ITEM_BEEP                             4
  56. #define ITEM_BLOCK                            5
  57. #define ITEM_CASE                             6
  58. #define ITEM_CLEARSCREEN                      7
  59. #define ITEM_CLOCK                            8
  60. #define ITEM_CMDARROWS                        9
  61. #define ITEM_CMDLINE                         10
  62. #define ITEM_CURLINE                         11
  63. #define ITEM_DIRFILEID                       12
  64. #define ITEM_EOF                             13
  65. #define ITEM_EOLOUT                          14
  66. #define ITEM_ETMODE                          15
  67. #define ITEM_FNAME                           16
  68. #define ITEM_FPATH                           17
  69. #define ITEM_FTYPE                           18
  70. #define ITEM_GETENV                          19
  71. #define ITEM_HEX                             20
  72. #define ITEM_HEXDISPLAY                      21
  73. #define ITEM_IMPMACRO                        22
  74. #define ITEM_IMPOS                           23
  75. #define ITEM_INSERTMODE                      24
  76. #define ITEM_LASTMSG                         25
  77. #define ITEM_LASTRC                          26
  78. #define ITEM_LENGTH                          27
  79. #define ITEM_LINE                            28
  80. #define ITEM_LINEND                          29
  81. #define ITEM_MACROEXT                        30
  82. #define ITEM_MACROPATH                       31
  83. #define ITEM_MARGINS                         32
  84. #define ITEM_MONITOR                         33
  85. #define ITEM_MSGMODE                         34
  86. #define ITEM_NBFILE                          35
  87. #define ITEM_NEWLINES                        36
  88. #define ITEM_NONDISP                         37
  89. #define ITEM_NUMBER                          38
  90. #define ITEM_PENDING                         39
  91. #define ITEM_POINT                           40
  92. #define ITEM_PREFIX                          41
  93. #define ITEM_PRINTER                         42
  94. #define ITEM_REPROFILE                       43
  95. #define ITEM_REXXOUTPUT                      44
  96. #define ITEM_SIZE                            45
  97. #define ITEM_STAY                            46
  98. #define ITEM_TABKEY                          47
  99. #define ITEM_TABS                            48
  100. #define ITEM_TABSIN                          49
  101. #define ITEM_TABSOUT                         50
  102. #define ITEM_TERMINAL                        51
  103. #define ITEM_TOF                             52
  104. #define ITEM_VERIFY                          53
  105. #define ITEM_VERSION                         54
  106. #define ITEM_WIDTH                           55
  107. #define ITEM_WORDWRAP                        56
  108. #define ITEM_ZONE                            57
  109. /*---------------------------------------------------------------------*/
  110. /* The following are item number defines for the boolean functions.    */
  111. /*---------------------------------------------------------------------*/
  112. #define ITEM_AFTER_FUNCTION                 100
  113. #define ITEM_BEFORE_FUNCTION                101
  114. #define ITEM_BLANK_FUNCTION                 102
  115. #define ITEM_BLOCK_FUNCTION                 103
  116. #define ITEM_BOTTOMEDGE_FUNCTION            104
  117. #define ITEM_COMMAND_FUNCTION               105
  118. #define ITEM_CURRENT_FUNCTION               106
  119. #define ITEM_DIR_FUNCTION                   107
  120. #define ITEM_END_FUNCTION                   108
  121. #define ITEM_EOF_FUNCTION                   109
  122. #define ITEM_FILELINE_FUNCTION              110
  123. #define ITEM_FIRST_FUNCTION                 111
  124. #define ITEM_FOCUSEOF_FUNCTION              112
  125. #define ITEM_FOCUSTOF_FUNCTION              113
  126. #define ITEM_INBLOCK_FUNCTION               114
  127. #define ITEM_INITIAL_FUNCTION               115
  128. #define ITEM_INPREFIX_FUNCTION              116
  129. #define ITEM_LEFTEDGE_FUNCTION              117
  130. #define ITEM_MODIFIABLE_FUNCTION            118
  131. #define ITEM_MULTWINDOW_FUNCTION            119
  132. #define ITEM_RIGHTEDGE_FUNCTION             120
  133. #define ITEM_SPACECHAR_FUNCTION             121
  134. #define ITEM_TOF_FUNCTION                   122
  135. #define ITEM_TOPEDGE_FUNCTION               123
  136. #define ITEM_VERONE_FUNCTION                124
  137. /*---------------------------------------------------------------------*/
  138. /* The following are item number defines for the 'other' functions.    */
  139. /*---------------------------------------------------------------------*/
  140. #define ITEM_VALID_TARGET_FUNCTION          201
  141.  
  142. #define MAX_VARIABLES_RETURNED               20
  143.