home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
nan_news
/
vol3
/
no6
/
status.prg
< prev
next >
Wrap
Text File
|
1989-05-01
|
938b
|
53 lines
* Program: Status.prg
* Author: Gerry Braganza
* Version: Clipper Summer '87
* Note(s): Demonstates the use of EQUIP.C to determine hardware
* configuration, keyboard status and system ID.
*
* Copyright (c) 1989 Nantucket Corporation.
x=Eq(1)
? "Number of DMA chips installed is "+ALLTRIM(STR(x))
INKEY(0)
x=Eq(2)
? "Printer installed is "+ALLTRIM(STR(x))
INKEY(0)
x=Eq(3)
? "Serial Port is "+ALLTRIM(STR(x))
INKEY(0)
x = Eq(4)
? "Diskette drive is "+ALLTRIM(STR(x))
INKEY(0)
x = Eq(5)
? "Video Mode is "+ALLTRIM(STR(x))
INKEY(0)
x = Eq(6)
? "System memory is "+ALLTRIM(STR(x))
INKEY(0)
x = Eq(7)
? "Insert Caps is "+ALLTRIM(STR(x))
INKEY(0)
x=Eq(8)
? "Caps Lock is "+ALLTRIM(STR(x))
INKEY(0)
x=Eq(9)
? "Num Lock is "+ALLTRIM(STR(x))
INKEY(0)
x=Eq(10)
? "Scroll lock is "+ALLTRIM(STR(x))
INKEY(0)
x=Eq(11)
? "Hardware is "+ALLTRIM(STR(x))
*EOP: Status.prg