home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power CD-ROM!! 7
/
POWERCD7.ISO
/
prgmming
/
clipper
/
gt_lib2.ch
< prev
next >
Wrap
Text File
|
1994-08-29
|
1KB
|
52 lines
// ES_LIB.CH - Include file for ES_LIB
// List of all PUBLIC And PRIVATE variables used to pass info
// to Library functions
MEMVAR cDefaultPath , ;
cSystemName , ;
cUserName , ;
nPageLen , ;
nUserLevel
// Include any other .ch files
#INCLUDE "setcurs.ch"
#INCLUDE "directry.ch"
#INCLUDE "box.ch"
#INCLUDE "inkey.ch"
#INCLUDE "fileio.ch"
#INCLUDE "colors.ch"
#INCLUDE "Set.ch"
#INCLUDE "Getexit.ch"
// Define key strokes
#DEFINE K_UNDO K_CTRL_U
#define K_CRLF K_CR + K_LF
// define for number of seconds to wait before timeout on record locks and
// file opens
#define LOCKWAITTIME 5
// Define AUDIT types - System reserved values are "90" and above
#define A_LOGON "90"
#define A_LOGOFF "91"
#define A_LOGFAIL "92"
#define A_DELETE "93"
#define A_TRASHCAN "94" // Audit record created when record is trashcanned
#define A_ADDRECORD "95"
#define A_EDITRECORD "96"
* Define video rows
#define V_EGA 43
#define V_VGA 50
#define V_NORMAL 25
* Define video columns
#define V_SINGLE 80
#define V_DOUBLE 40
#define V_NOCHANGE 0
// define DEFAULT command
#xcommand DEFAULT <p> TO <v> [, <p2> TO <v2> ] =>;
<p> := IF( <p> == NIL, <v>, <p> );
[; <p2> := IF( <p2> == NIL, <v2>, <p2> ) ]