home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Oakland CPM Archive
/
oakcpm.iso
/
cpm
/
comnd
/
comnd004.ark
/
COMNDI.H
< prev
next >
Wrap
Text File
|
1986-06-17
|
1KB
|
47 lines
/* comndi.h Internal (for implementation only) definitions for the
COMND services.
Copyright (C) 1984, 1985 Mark E. Mallett
Permission is hereby granted to distribute this file indiscriminately.
Edit history
When Who What
------ --- --------------------------------
84xxxx MEM Create file.
*/
/* Various constants, etc. */
/* Parse result codes, to be returned by function code parsers */
#define _CPSUCC 0x0000 /* Success, causes immediate successful
return to COMND caller. */
#define _CPABT 0x0001 /* Some severe error, causes immediate
unsuccessful return to caller */
#define _CPNOP 0x0002 /* No parse... does not match. May
cause unsuccessful return to COMND
caller if there are no better
results in the CFB chain. */
#define _CPGVH 0x0003 /* Gave help... input might have
parsed if it was completed. */
#define _CPAGN 0x0004 /* Try again. Might match if it were
complete. */
#define _CPCPE 0x0005 /* Completed with escape. */
/* Character codes passed around by COMND support routines */
#define _CCHLP 0xFFFF /* Help request */
#define _CCCMP 0xFFFE /* Command complete, please? */
#define _CCINC 0xFFFD /* Incomplete (get more) */
#define _CCEND 0xFFFC /* End of input (CR found) */
#define _CCINV 0xFFFB /* Invalid character in atom */