home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / UT / UT214.ZIP / SEBFU40.LZH / KSTAT.DOC < prev    next >
Text File  |  1991-09-15  |  3KB  |  106 lines

  1.  
  2.                             K S T A T     Ver. 4.0
  3.  
  4.  
  5.                     (C)1989,1990,1991  Scanlon Enterprises
  6.  
  7.  
  8.  
  9.  
  10.  
  11.        KSTAT is a small utility to check if any key has been pressed 
  12.        (key waiting). This is useful when running a batch file with 
  13.        looping, and need to know if a key press has occurred, so the 
  14.        batch file can be halted.
  15.  
  16.  
  17.  
  18.        Syntax : KSTAT
  19.  
  20.  
  21.        Defaults: NONE
  22.  
  23.  
  24.        ERRORLEVELS: 255 (0FF) = Program Problem (call Author)
  25.                       2       = Extended key waiting
  26.                       1       = Standard key waiting
  27.                       0       = No key waiting
  28.  
  29.  
  30.  
  31.        USAGE:
  32.  
  33.        Use this with any of our key input utils such as GALF or GNUM to 
  34.        respond to the keyboard input.
  35.  
  36.  
  37.        EXAMPLE:
  38.  
  39.                ECHO OFF
  40.                CLS
  41.                :LOOP
  42.                KSTAT
  43.                IF ERRORLEVEL 2 GOTO EXT
  44.                IF ERRORLEVEL 1 GOTO KEY
  45.                {Do something}
  46.                GOTO LOOP
  47.                :EXT
  48.                {Extended key handler}
  49.                :KEY
  50.                {Standard key handler}
  51.  
  52.        The key handlers may simply be instructions to halt the batch 
  53.        file, such as GOTO XIT, with XIT a lable at the end of the batch 
  54.        file and nothing more.
  55.  
  56.  
  57.        For additional usage and information on using these utilities see 
  58.        the file SEBFU.DOC or BATUT.DOC.
  59.  
  60.  
  61.  
  62.  
  63.       Page 1 of 2
  64.  
  65.                              K S T A T    Ver. 4.0
  66.  
  67.  
  68.                     (C)1989,1990,1991  Scanlon Enterprises
  69.  
  70.  
  71.  
  72.                              O R D E R     F O R M
  73.  
  74.  
  75.  
  76.  
  77.        KSTAT registration ..................................... $1.00
  78.  
  79.  
  80.  
  81.  
  82.        What you get :
  83.  
  84.        Unlimited usage of KSTAT, and phone or write in support. You 
  85.        will also be placed on our mailing list for future updates and 
  86.        new products.
  87.  
  88.        We are offering this utility seperate from SEBFU as a favor to 
  89.        users who do NOT wish to use many of the SEBFU utilities.
  90.  
  91.        This utility is automatically registered to you when you register 
  92.        SEBFU as a product (see REG.DOC). Registering SEBFU as a product 
  93.        is a better bargin, as each utility will cost less than $ .25 
  94.        each.
  95.  
  96.  
  97.        Vendors:
  98.  
  99.        You may distribute KSTAT seperately, provided this document is 
  100.        distributed as well. Any reasonable fee may be charged.
  101.  
  102.  
  103.        Send your order to : SCANLON ENTERPRISES
  104.                             38354 17TH ST E.
  105.                             PALMDALE, CA 93550
  106.