home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
GETARGS.ZIP
/
GETARGS.H
< prev
Wrap
Text File
|
1992-01-02
|
377b
|
15 lines
/* getargs.h - typedefs and defines needed for getargs */
#define INTEGER 0
#define BOOLEAN 1
#define CHARACTER 2
#define STRING 3
#define PROC 4
typedef struct
{ unsigned arg ; /* command line switch */
unsigned type ; /* variable type (of those #defined above) */
int *variable ; /* pointer to variable */
char *errmsg ; /* pointer to error message */
} ARG;