home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / the25.zip / thesrc251.zip / query.h < prev    next >
Text File  |  1998-06-01  |  9KB  |  188 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-1997 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@qut.edu.au
  34.  * PO Box 203                    Phone:                    +617 3802 0800
  35.  * Bellara                       http://www.gu.edu.au/gext/the/markh.html
  36.  * QLD 4507                      **** Maintainer PDCurses & REXX/SQL ****
  37.  * Australia                     ************* Author of THE ************
  38.  */
  39.  
  40. /*
  41. $Id: query.h 2.1 1995/06/24 16:30:57 MH Rel 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_COLOR                           11
  63. #define ITEM_COLOUR                          12
  64. #define ITEM_COLUMN                          13
  65. #define ITEM_COMPAT                          14
  66. #define ITEM_CURLINE                         15
  67. #define ITEM_CURSOR                          16
  68. #define ITEM_CURSORSTAY                      17
  69. #define ITEM_DEFSORT                         18
  70. #define ITEM_DIRFILEID                       19
  71. #define ITEM_DISPLAY                         20
  72. #define ITEM_EOF                             21
  73. #define ITEM_EOLOUT                          22
  74. #define ITEM_ETMODE                          23
  75. #define ITEM_FEXT                            24
  76. #define ITEM_FIELD                           25
  77. #define ITEM_FILENAME                        26
  78. #define ITEM_FMODE                           27
  79. #define ITEM_FNAME                           28
  80. #define ITEM_FPATH                           29
  81. #define ITEM_FTYPE                           30
  82. #define ITEM_FULLFNAME                       31
  83. #define ITEM_GETENV                          32
  84. #define ITEM_HEX                             33
  85. #define ITEM_HEXDISPLAY                      34
  86. #define ITEM_HEXSHOW                         35
  87. #define ITEM_HIGHLIGHT                       36
  88. #define ITEM_IDLINE                          37
  89. #define ITEM_IMPMACRO                        38
  90. #define ITEM_IMPOS                           39
  91. #define ITEM_INPUTMODE                       40
  92. #define ITEM_INSERTMODE                      41
  93. #define ITEM_LASTMSG                         42
  94. #define ITEM_LASTRC                          43
  95. #define ITEM_LENGTH                          44
  96. #define ITEM_LINE                            45
  97. #define ITEM_LINEFLAG                        46
  98. #define ITEM_LINEND                          47
  99. #define ITEM_LSCREEN                         48
  100. #define ITEM_MACRO                           49
  101. #define ITEM_MACROEXT                        50
  102. #define ITEM_MACROPATH                       51
  103. #define ITEM_MARGINS                         52
  104. #define ITEM_MONITOR                         53
  105. #define ITEM_MOUSE                           54
  106. #define ITEM_MSGLINE                         55
  107. #define ITEM_MSGMODE                         56
  108. #define ITEM_NBFILE                          57
  109. #define ITEM_NEWLINES                        58
  110. #define ITEM_NONDISP                         59
  111. #define ITEM_NUMBER                          60
  112. #define ITEM_PENDING                         61
  113. #define ITEM_POINT                           62
  114. #define ITEM_POSITION                        63
  115. #define ITEM_PREFIX                          64
  116. #define ITEM_PRINTER                         65
  117. #define ITEM_READV                           66
  118. #define ITEM_REPROFILE                       67
  119. #define ITEM_RESERVED                        68
  120. #define ITEM_REXXOUTPUT                      69
  121. #define ITEM_RING                            70
  122. #define ITEM_SCALE                           71
  123. #define ITEM_SCOPE                           72
  124. #define ITEM_SCREEN                          73
  125. #define ITEM_SELECT                          74
  126. #define ITEM_SHADOW                          75
  127. #define ITEM_SHOWKEY                         76
  128. #define ITEM_SIZE                            77
  129. #define ITEM_STATUSLINE                      78
  130. #define ITEM_STAY                            79
  131. #define ITEM_TABKEY                          80
  132. #define ITEM_TABLINE                         81
  133. #define ITEM_TABS                            82
  134. #define ITEM_TABSIN                          83
  135. #define ITEM_TABSOUT                         84
  136. #define ITEM_TERMINAL                        85
  137. #define ITEM_TOF                             86
  138. #define ITEM_TYPEAHEAD                       87
  139. #define ITEM_UNDOING                         88
  140. #define ITEM_UNTAA                           89
  141. #define ITEM_VERIFY                          90
  142. #define ITEM_VERSHIFT                        91
  143. #define ITEM_VERSION                         92
  144. #define ITEM_WIDTH                           93
  145. #define ITEM_WORD                            94
  146. #define ITEM_WORDWRAP                        95
  147. #define ITEM_WRAP                            96
  148. #define ITEM_XTERMINAL                       97
  149. #define ITEM_ZONE                            98
  150. /*---------------------------------------------------------------------*/
  151. /* The following are item number defines for the boolean functions.    */
  152. /*---------------------------------------------------------------------*/
  153. #define ITEM_START_BOOLEANS                 200
  154. #define ITEM_AFTER_FUNCTION                 200
  155. #define ITEM_BATCH_FUNCTION                 201
  156. #define ITEM_BEFORE_FUNCTION                202
  157. #define ITEM_BLANK_FUNCTION                 203
  158. #define ITEM_BLOCK_FUNCTION                 204
  159. #define ITEM_BOTTOMEDGE_FUNCTION            205
  160. #define ITEM_COMMAND_FUNCTION               206
  161. #define ITEM_CURRENT_FUNCTION               207
  162. #define ITEM_DIR_FUNCTION                   208
  163. #define ITEM_END_FUNCTION                   209
  164. #define ITEM_EOF_FUNCTION                   210
  165. #define ITEM_FIRST_FUNCTION                 211
  166. #define ITEM_FOCUSEOF_FUNCTION              212
  167. #define ITEM_FOCUSTOF_FUNCTION              213
  168. #define ITEM_INBLOCK_FUNCTION               214
  169. #define ITEM_INCOMMAND_FUNCTION             215
  170. #define ITEM_INITIAL_FUNCTION               216
  171. #define ITEM_INPREFIX_FUNCTION              217
  172. #define ITEM_LEFTEDGE_FUNCTION              218
  173. #define ITEM_MODIFIABLE_FUNCTION            219
  174. #define ITEM_MULTWINDOW_FUNCTION            220
  175. #define ITEM_RIGHTEDGE_FUNCTION             221
  176. #define ITEM_SHADOW_FUNCTION                222
  177. #define ITEM_SPACECHAR_FUNCTION             223
  178. #define ITEM_TOF_FUNCTION                   224
  179. #define ITEM_TOPEDGE_FUNCTION               225
  180. #define ITEM_VERONE_FUNCTION                226
  181. /*---------------------------------------------------------------------*/
  182. /* The following are item number defines for the 'other' functions.    */
  183. /*---------------------------------------------------------------------*/
  184. #define ITEM_VALID_TARGET_FUNCTION          250
  185. #define ITEM_RUN_OS_FUNCTION                251
  186.  
  187. #define MAX_VARIABLES_RETURNED               30
  188.