home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / query87.zip / QUERY87.DOC < prev    next >
Text File  |  1988-06-22  |  3KB  |  100 lines

  1. The following functions allow queries into Clipper '87's SET parameters.
  2.  
  3. All of the routines are in QUERY87.LIB as well as in seperate .OBJ files.
  4. These routines are contributed to the public domain and no warranty or
  5. fitness for use is claimed.
  6.  
  7.                             Rick Whitt, SysOp
  8.                             dBoard BBS - Winston-Salem, NC
  9.                             (919) 768-3043
  10.  
  11.                             June 20, 1988
  12.  
  13.  
  14. * Logical ( returns .T. or .F. )
  15.  
  16.   ISALT()     -  Returns .T. if ALTERNATE is set ON
  17.  
  18.   ISALT_C()   -  .T. if ALT-C cancel is ON. See SET_ALTC() below.
  19.  
  20.   ISBELL()    -  .T. if BELL is set ON
  21.  
  22.   ISCARRY()   -  .T. if CARRY is set ON 
  23.  
  24.   ISCENT()    -  .T. if CENTURY is set ON
  25.  
  26.   ISCONF()    -  .T. if CONFIRM is set ON
  27.  
  28.   ISCONSOL()  -  .T. if CONSOLE is set ON
  29.  
  30.   ISCURSOR()  -  .T. if CURSOR is ON
  31.  
  32.   ISDELIM()   -  .T. if DELIMITER is set ON
  33.  
  34.   ISESC()     -  .T. if ESCAPE is set ON
  35.  
  36.   ISEXACT()   -  .T. if EXACT is set ON
  37.  
  38.   ISEXCLUS()  -  .T. if EXCLUSIVE is set ON
  39.  
  40.   ISFIXED()   -  .T. if FIXED is set ON
  41.  
  42.   ISINTENS()  -  .T. if INTENSITY is set ON
  43.  
  44.   ISPRNTON()  -  .T. if CARRY is set ON
  45.  
  46.   ISSCORE()   -  .T. if SCOREBOARD is set ON
  47.  
  48.   ISSOFT()    -  .T. if SOFTSEEK is set ON
  49.  
  50.   ISUNIQUE()  -  .T. if UNIQUE is set ON
  51.  
  52.   ISWRAP()    -  .T. if WRAP is set ON
  53.  
  54.  
  55.  
  56. * Numeric - returns an integer
  57.  
  58.   GETDECIM()  -  Returns the currnet DECIMALS setting
  59.  
  60.   GETMARG()   -  Returns the currnet MARGINS setting
  61.  
  62.  
  63.  
  64. * Character - Returns character or string.
  65.  
  66.   GETDEFA()   -  Returns the current DEFAULT drive/directory
  67.  
  68.   GETPATH()   -  Returns the current PATH
  69.  
  70.   LDELIM()    -  Returns the current left DELIMITER
  71.  
  72.   RDELIM()    -  Returns the current right DELIMITER
  73.  
  74.  
  75. * Miscellaneous garbage
  76.  
  77.  
  78.   ALTHANDL()  -  Returns the DOS handle number of an open ALTERNATE
  79.                  file, for use with the direct file functions.
  80.  
  81.   SETKEY(n)  -  Returns the inkey value of the n'th SET KEY
  82.  
  83.  
  84.   DATEFORM() -  Returns the current date format, ie 'AMERICAM', 
  85.                 'BRITISH', etc.
  86.  
  87.   GETKEYS(array)  - Pass a 32 element array, array will be filled with
  88.                     inkey values of all SET KEYs, 0 in an element for
  89.                     which no key is set. Returns a 1 if array is not
  90.                     32 in length, 0 otherwise.
  91.  
  92.  
  93.   SET_ALTC(n)  - Sets ON/off the ability for Alt-C to interrupt Clipper
  94.                  programs - SET ESCAPE OFF will not do it in '87.
  95.                  Pass a 0 to turn it off or a 1 to turn it on. If you
  96.                  then wish to capture Alt-C in an INKEY() function, you
  97.                  will have to first trap for INKEY() = 0 ( what Alt-C 
  98.                  returns ), then see if LASTKEY() = 302.
  99.  
  100.