home *** CD-ROM | disk | FTP | other *** search
- // SYS.CH
- // Employee Information definitions
- // November, 1993
- //----------------------------------------------------------------------------
-
- #include 'achoice.ch'
- #include 'box.ch'
- #include 'fileio.ch'
- #include 'inkey.ch'
- #include 'setcurs.ch'
-
- //----------------------------------------------------------------------------
-
- #define TRUE .T.
- #define FALSE .F.
-
- #define SUBSET(x, y) (x $ y)
-
- #define ISCHARACTER(x) (ValType(x) == 'C')
- #define ISNUMERIC(x) (ValType(x) == 'N')
- #define ISLOGICAL(x) (ValType(x) == 'L')
- #define ISBLOCK(x) (ValType(x) == 'B')
- #define ISUNDEFINED(x) ('U' $ ValType(x))
-
- #define SCREENSAVE(a, b, c, d) (Str(a, 2) + Str(b, 2) + Str(c, 2) + Str(d, 2) + SaveScreen(a, b, c, d))
- #define EMPTY_SS(x) ((Empty(x)) .or. (x == ' - - '))
-
- #define DISPLAY_MODE 0
- #define POSITION_MODE 1
- #define ENTRY_MODE 2
- #define UPDATE_MODE 3
-
- #define QUIT_MODE 0
- #define ADD_MODE 1
- #define CHANGE_MODE 2
- #define DELETE_MODE 3
- #define EXIT_MODE 4
-
-
- //----------------------------------------------------------------------------
- //----------------------------------------------------------------------------
-