home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
CLIPPER
/
PDRD1
/
READ.CH
< prev
next >
Wrap
Text File
|
1992-12-01
|
2KB
|
55 lines
/*
READ.CH
*/
//ADread() configurable attributes
#define R_CARGO 1
#define R_INITBLOCK 2
#define R_MOVEBLOCK 3
#define R_EXITBLOCK 4
#define R_KEYS 5
#define R_KHANDLER 6
#define R_LBUTTONS 7
#define R_LBHANDLER 8
#define R_RBUTTONS 9
#define R_RBHANDLER 10
#define R_EXPCOORDS 11
#define R_EXPCOLOR 12
#define R_AUTOEXPAND 13
#define R_HELPID 14
#define R_LREXIT 15
#define R_KEYVALIDBLOCK 16
//ADread() peekable attributes
#define PKREAD_NTHGET 1
#define PKREAD_EXITCODE 2
#define PKREAD_NGETS 3
#define PKREAD_INSERT 4
#define PKREAD_UPDATED 5
//ADread() special exit codes
#define RX_NOCONFIRM -101
#define RX_SAVE -102
#define RX_ABORT -103
// Return values of user-defined key and mouse button handlers for ADread()
#define EXIT_READ .T.
#define CONTINUE_READ .F.
#command @ <row>, <col> SAY <sayxpr> ;
[<sayClauses,...>] ;
ADGET <var> ;
[<getClauses,...>] ;
;
=> @ <row>, <col> SAY <sayxpr> [<sayClauses>] ;
; @ Row(), Col()+1 GET <var> [<getClauses>] ;
; ADr_mousify( getlist )
#command @ <row>, <col> ADGET <var> ;
[<getClauses,...>] ;
;
=> @ <row>, <col> GET <var> [<getClauses>] ;
; ADr_mousify( getlist )