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 >
Wrap
Text File
|
1991-09-15
|
3KB
|
106 lines
K S T A T Ver. 4.0
(C)1989,1990,1991 Scanlon Enterprises
KSTAT is a small utility to check if any key has been pressed
(key waiting). This is useful when running a batch file with
looping, and need to know if a key press has occurred, so the
batch file can be halted.
Syntax : KSTAT
Defaults: NONE
ERRORLEVELS: 255 (0FF) = Program Problem (call Author)
2 = Extended key waiting
1 = Standard key waiting
0 = No key waiting
USAGE:
Use this with any of our key input utils such as GALF or GNUM to
respond to the keyboard input.
EXAMPLE:
ECHO OFF
CLS
:LOOP
KSTAT
IF ERRORLEVEL 2 GOTO EXT
IF ERRORLEVEL 1 GOTO KEY
{Do something}
GOTO LOOP
:EXT
{Extended key handler}
:KEY
{Standard key handler}
The key handlers may simply be instructions to halt the batch
file, such as GOTO XIT, with XIT a lable at the end of the batch
file and nothing more.
For additional usage and information on using these utilities see
the file SEBFU.DOC or BATUT.DOC.
Page 1 of 2
K S T A T Ver. 4.0
(C)1989,1990,1991 Scanlon Enterprises
O R D E R F O R M
KSTAT registration ..................................... $1.00
What you get :
Unlimited usage of KSTAT, and phone or write in support. You
will also be placed on our mailing list for future updates and
new products.
We are offering this utility seperate from SEBFU as a favor to
users who do NOT wish to use many of the SEBFU utilities.
This utility is automatically registered to you when you register
SEBFU as a product (see REG.DOC). Registering SEBFU as a product
is a better bargin, as each utility will cost less than $ .25
each.
Vendors:
You may distribute KSTAT seperately, provided this document is
distributed as well. Any reasonable fee may be charged.
Send your order to : SCANLON ENTERPRISES
38354 17TH ST E.
PALMDALE, CA 93550